how to get last value in each row
Posted: Wed Jun 20, 2012 2:01 am
source
a
a_b
a_b_c
a_b_c_d
target
a
b
c
d
a
a_b
a_b_c
a_b_c_d
target
a
b
c
d
A short text to describe your forum
http://dsxchange.com./
Code: Select all
field(DSLink2.val,"_", @INROWNUM)
Again, I think people are putting too much faith in the accuracy of the example posted. They want the last "value" / field, not the last character.trammohan wrote:DSLink8.val[ Len(Trim(DSLink8.val )),1]
Code: Select all
Field(InLink.TheString, delimiter, Count(InLink.TheString, delimiter) + 1, 1)
Code: Select all
Field(InLink.TheString, delimiter, Count(InLink.TheString, delimiter) + 1, 1)