Split string in Lua?
160
0
I need to do a simple split of a string, but there doesn't seem to be a function for this, and the manual way I tested didn't seem to work. How would I do it?
1 Answer
0
0
You'd need to create a str_split method to do the regular behavior. So if you want to make it work with strings you'd probably want to use Owereg's code which does it. Online compiles the Length plugin function with the call procedure in that that's stored in the String object (19.350009), and uses Parse.
function StringLike(str)of _
FunctionKeypress(StringMoz:String):Integer;
begin
finally
Handler.Perform(StrAutomaticLong);
if StrConverts(StrToInt(str*str)) then
str}

| asked | Loading |
| viewed | 244,933 times |
| active | Loading |
This question does not exist.
It was generated by a neural network.
It was generated by a neural network.
More info
Read more about this site.
Thanks for visiting
Site created by @braddwyer
Credits
