>Hi Cetin,
>
>>> Could you extend it to use any Delimiter?
>>
>>
Yes I could. But I have other fll code doing it. It parses with parameters such as
>>-Upper,lower, mixed
>>-lTurkishFix or not (Effects a few char)
>>-Delimiters
>>-Sort or not
>>-Unique words or not (ie: a dictionary indexing)
>>
>>I use this one just to parse my listtype strings. "ObjectName1, ObjectName5, ObjectName8..." so I could easily parse the string and process elements.
>
> I found that your program can not recognize some characters, for example:
> =list2aRRAY("SIMONDS FRANK H =JR & DEBORAH A =JR", "LaString"," ")
> gives 8 elements, but laString[8]=.f. and laString[4]="JR" instead of "=JR" ,
> so, your code isn't suitable for my goal. Could you please help me to change it appropriately?
Nadya,
In that routine I used __iscsym() to get words. It returns nonzero for letters, digits and underscore. Instead you might want to use isprint(), isascii() etc.
Cetin