what i'm trying to do is parse a string with semicolon seperated words (e.g. "forest;wild animals;tree;fox"). i'm using the above loop to seperate the original string into the first word and the rest of it, then run a loop. the function is working quite well, though at some point i figured the option -1}} does not exist. every now and then there's a problem when a "word" contains spaces. in order trying to fix this i have tried several other options WordFind2x offers, though the description makes it hard to understand what they actually do. to my suprise my function worked as before, though this also means that sometimes words are left out.Loop:
${WordFind} "${LineContent}" ";" "+1" $1
DetailPrint "$1"
${WordFind2X} "${LineContent}" $1 ";" "-1}}" "${LineContent}"
StrCmp "${LineContent}" $1 0 Loop
End:
if you can help, please let me know!