string "{ 123, 456, 789 }" -> array etc
string "{ 123, 456, 789 }" -> array etc
Is there any simple way to do it? Or the only way via SplitWords and CInts etc?
Have a look at Racalac's eScript guide it might be what you are looking for.
Arrays are in Chapter 2a. http://docs.polserver.com/pol096/escrip ... tml#chap2a
Arrays are in Chapter 2a. http://docs.polserver.com/pol096/escrip ... tml#chap2a
096 and 097
Code: Select all
var string_example = "This is a string";
var string_array = SplitWords(string_example, " ");
//array contains {"this", "is", "a", "string"}
[code]
[code]
var string_example = "This is a string";
var string_array = SplitWords(string_example, "a");
//array contains {"this is ", " string"}
[code]