>I´ve need a function that makes somethin like this:
>
>Knowing the word number (for a specific delimiter),
>Get this words starting/ending position.
>
>Does this exist?
>If not, how can I get it?
>
>Thanks,
>Ibai
You can use the AT() and LEN() functions to get this along with GetWordNum():
StartPos= at(getwordnum(lcvar,3)+< delimiter >,lcvar)
EndPos = at(getwordnum(lcvar,3)+< delimiter >,lcvar)+len(getwordnum(lcvar,3))-1
To make it easier to read, you could assign the return value of GetWordNum to a variable and use it.
HTH.
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao