Content

Creating an ARRAY from a string

Reading the full content

Var StringReceivedFromTS:= &VAR02+';' //Variable received from ThinkServer like "toto;tutu" Var ArrayGeneratedinSC:=[]; While(pos(';',StringReceivedFromTS) >0) DO BEGIN append(ArrayGeneratedinSC,substring(StringReceivedFromThinkserver,1,pos(';',StringReceivedFromTS)-1)); StringReceivedFromTS:= substring(StringReceivedFromTS,pos(';',StringReceivedFromTS)+1,len(StringReceivedFromTS)); END; 

 

See also

 


Still have questions? We can help. Submit a case to Technical Support.

Last Modified On: October 18, 2018