sachin03
8th April 2004, 21:07
Hi all,
I am trying to use the function string.scan. the problem is that my seperator is " (double quotes). How do I specify this seperator in the string scan function? I tried using
ret = string.scan(temp.string, "%s""""%s", temp.string1, temp.string2).
The return value of string scan is 2, but the string variables temp.string1 & temp.string2 are empty.
Any suggestions??:confused:

Thanx
Sachin

steveauckly
8th April 2004, 21:13
Try chr$(34)

sachin03
8th April 2004, 21:38
Hi,
Thanx for the suggestion. it seems to be working
sachin

NPRao
8th April 2004, 23:56
Refer to the thread - limitations to string.scan?? (http://www.baanboard.com/baanboard/showthread.php?s=&threadid=5773&highlight=quotes)

sachin03
12th April 2004, 16:48
Hi NPRao,
Thanx for the help. It works real good...

Regards,
Sachin