StrTok(str, char_sep, result_array);
str
char_sep
result_array
Takes two strings and a one-dimensional array and returns a numeric value indicating the number of tokens passed into the array.A numeric value indicating the number of tokens passed into the array. In case of failure, -1 returned.$var1="Mon:Tue:Wed:Thu:Fri:Sat:Sun";
$num_of_tokens=StrTok($var1,":",$arr1);$num_of_tokens=7
$arr1[0]="Mon"
$arr1[1]="Tue"
...
OpenText StreamServe 5.6.2 | Updated: 2018-01-26 |