lua:arguments
This is an old revision of the document!
arguments( arg_str )
Splits arg_str into sub arguments and returns the arguments as a table.
White space are considered argument boundaries except when single quotes are used. See example below.
local args=arguments("abc def 'ghi jkl' mno") tprint(args)
You say '1="abc" 2="def" 3="ghi jkl" 4="mno"
lua/arguments.1423124902.txt.gz · Last modified: 2015/02/05 08:28 by vodur