File utils/stringutil.lua
Functions
stringutil.concat (...) | Concats all the given items by invoking tostring on them into one string. |
stringutil.split (text, split) | Splits the given text using the given split value. |
Functions
- stringutil.concat (...)
-
Concats all the given items by invoking tostring on them into one string.
Parameters
- ...: The items to concat.
Return value:
The concatenated items as string. - stringutil.split (text, split)
-
Splits the given text using the given split value. Returns the splitted text as List. If the string is empty or nil, the returned list will not contain any entries. If the string only contains a value without a separator, the list will contain one value, if it contains only the separator, two empty values.
Parameters
- text: The text to split.
- split: The split value.
Return value:
The list of splitted values.