>>Hi,
>>
>>I was wondering if there is a function or feature in VFP 9 that would allow me to extract sub-strings from a string, delimited by some character.
>>For example, say my delimiter is chr(254) and I have the following string:
>>
>>cLongString = "some string1chr(254)some string2chr(254)somestring3chr(254)"
>>
>>I know how to parse the long string using ATCC() and SUBSTR() with a DO WHILE. But I was wondering if there is a more efficient way to get the sub-strings in an array or a cursor or just one sub-string at a time.
>>
>>TIA
>
>Take a look at ALINES() function in Help.
Thank you.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham