split

derez

Expert
Licensed User
Longtime User
What is the equivalent of strsplit or Array(... , ... , ...) ?

I have created a type named playback, and a an object of that type called play.
How do I assign values to play from a string st ?
play = ???(st)
 

derez

Expert
Licensed User
Longtime User
My question refered to a type, which has various elements types inside.
I need the strsplit method to split a coma separated string to variables which will populate a type.

do I need to get the data by another string array as strings, and then convert it to the varous type items ?

I did thet but the Array command expects that the items are written like this "first","second",... not like this first,second,...
If there is no other way, i'll have to replace each coma with "," .
 
Last edited:
Upvote 0

derez

Expert
Licensed User
Longtime User
Erel
I got arround with an ugly solution - using substring to get the parameters.
NowI run a while loop to read each line and perform a sequence of subs, but the program does not refresh the display, it just runs the while loop and does not show anything.
Is there something like doevents to make it hold for the display ? (although there is no event involved)
 
Upvote 0
Top