Posted 03 July 2016 - 11:04 AM
Hi everyone,
I have a question for you: how can I split an input string at a specified character like in the code beneath
Thank you!
I have a question for you: how can I split an input string at a specified character like in the code beneath
output = {}
input = read()
-- input = "command arg1 arg2"
output = slitString(input," ")
-- output = {"command","arg1","arg2"}
Thank you!
Edited on 03 July 2016 - 09:04 AM