I have a string that consists of several parts that are delimited with unreserved symbol.
eg. hyphen, underscore or tilde.
Like this: xxxxxxx_yyyyyyyy_zzzzzzzzz_wwwwww_qqqqqq
I want to get part between first and second underscore, then part between third and fourth underscore and so on...
How can i get only certain portion at the time of this string?
from the manual https://www.scirra.com/manual/126/system-expressions
tokenat(src, index, separator)
Return the Nth token from src, splitting the string by separator. For example, tokenat("apples|oranges|bananas", 1, "|") returns oranges.
Develop games in your browser. Powerful, performant & highly capable.
Thanks... shame on me for not seeing that!