Note: BETA versions are a work in progress and might contain fresh bugs.
You have been warned.
- + SC GetToken enhanced. Now you can pass "count" as second parameter to retrieve the token count in the string. Note that the function returns 0 when the string is empty.
text gettoken("a,b", "count", ","); // 2
text gettoken("a,", "count", ","); // 2
text gettoken(",", "count", ","); // 2
text gettoken("", "count", ","); // 0