str.split
- method arrstr str.split( arrstr ret, uint symbol, uint flag )
- method arrstr str.split <result> ( uint symbol, uint flag )
- method uint str.split( uint symbol, str left, str right )
Splitting a string. The method splits a string into substrings taking into account the specified separator.
arrstr ret,
uint symbol,
uint flag
)
Parameters
ret | The result array of strings. | ||||||||||
symbol | Separator. | ||||||||||
flag | Flags.
|
Return value
The result array of strings.
The method splits a string into the new result array of strings.
uint symbol,
uint flag
)
Parameters
symbol | Separator. | ||||||||||
flag | Flags.
|
Return value
The new result array of strings.
str.split
The method looks for the first symbol and splits a string into two parts.
uint symbol,
str left,
str right
)
Parameters
symbol | Separator. |
left | The substring left on the symbol. |
right | The substring right on the symbol. |
Return value
Returns 1 if the separator has been found. Otherwise, return 0.
Related links | Source |