In VFP 7, you can change the default delimiter. In VFP 6, you have to convert ";" (or whatever delimiter you choose to use) to chr(13), before applying alines().
Hilmar.
>>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
>
>Yes, there is a function in FoxTools. However, it has the problem of ignoring consecutive delimiters, that is, blank parameters.
>
>A string like:
Par1;;Par3, where the second parameter is omitted, would give you "Par3" for the second "word". The reason is that when you count real words, consecutive spaces should be ignored.
>
>I recommend copying your string to an array with alines(). Then, loop through the array.
>
>Saludos, Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)