πŸŸͺsam.Util.parse_args

array[string] sam.Util.parse_args( string text )

Description

Turn text into arguments.

Aguments

  1. string text

Returns

Example

local args = Util.parse_args('hi    there  "mr srlion!" ok.')
PrintTable(args)
-- output:
{
    "hi",
    "there",
    "mr srlion!",
    "ok."
}

Last updated