Functions/DarkRP/Shared/explodeArg

From Official DarkRP Wiki
Jump to navigation Jump to search
Function
Function name DarkRP.explodeArg(string arg)
Description:
String arguments exploded into a table. It accounts for substrings in quotes, which makes it more intelligent than string.Explode
Returns: table args
Part of Library: DarkRP
Realm: NewerShared.png
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Functions/DarkRP/Shared/explodeArg]DarkRP.explodeArg[/url][/b]

Function parameters

  1. arg (string)
  2. The full string of the argument


Function return values

  1. args (table)
  2. The table of arguments