string.parseHttpArgs

Syntax string.parseHttpArgs (s)

Params s, a string, contains HTTP arguments.

Action Parses the arguments into a list.

Returns The list of arguments and their values.

Examples string.parseHttpArgs ("a=1&b=2&c=3")

   » {"a", "1", "b", "2", "c", "3"}

Notes webserver.parseArgs is usually more useful, as it parses HTTP args into a table.

See Also webserver.parseArgs

webserver.encodeArgs

Discuss