🟪

sam.Util.parse_args

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

Description

Turn text into arguments.

Aguments

  1. 1.

    ​string text

Returns

  1. 1.

    ​array[string]

Example

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