Code: Select all
Let>STRING=123
Position>1,STRING,0,POS,FALSE
//POS=0
Position>2,STRING,0,POS,FALSE
//POS=1
Position>3,STRING,0,POS,FALSE
//POS=2
Position>4,STRING,0,POS,FALSE
//POS=0
Moderators: Dorian (MJT support), JRL
Code: Select all
Let>STRING=123
Position>1,STRING,0,POS,FALSE
//POS=0
Position>2,STRING,0,POS,FALSE
//POS=1
Position>3,STRING,0,POS,FALSE
//POS=2
Position>4,STRING,0,POS,FALSE
//POS=0
Yes that is understood but if you look at my example you'll see that the string containing "1" (or "12" or "123" for that matter) will also return zero.Dorian (MJT support) wrote: ↑Wed Apr 08, 2020 10:43 amPosition
Hi Grovkillen,
"Returns the starting position of a substring in a string. The search commences at the position specified in start. If found the starting position of the substring is returned in the result variable. If no match is found this value will be zero."