strtok2
- Синтаксис
-
native strtok2(const text[], left[], const llen, right[], const rlen, const token = ' ', const trim = 0);
Переменная | Описание |
---|---|
text |
String to tokenize |
left |
Buffer to store left half |
llen |
Size of left buffer |
right |
Buffer to store right half |
rlen |
Size of right buffer |
token |
Token to split by |
trim |
Flags for trimming behavior, see above |
- Описание
- Breaks a string in two by token.
- Пометка
-
Only available in 1.8.3 and above.
- Возвращает
- Returns position of token in string if found, -1 if token was not found