NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: Johan de Klerk on July 14, 2019, 03:20:01 AM
-
Hi Bruce,
I have a string with lots of values separated by a ,
I want to use ST.Split to get them out and compare them to see what the next option is.
I want to use:
ST.Free()
Loc:MyString = 'M,P,ER,PO,D,XW,T,H,E,MX'
ST.SetValue(Loc:MyString)
ST.Split(',')
LOOP MyRecs# = 1 TO ST.Records()
IF ST.GetLine(1) = 'M'
DoSomething
ELSIF ST.GetLine(1) = 'PO'
DoSomethingElse
END
END
ST.Free()
Regards
Johan de Klerk
-
yep, that's safe.
Cheers
Bruce
-
Thanks Bruce.