string.Implode

From GMod Wiki

Revision as of 22:20, 25 September 2009 by Dlaor (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Function
Syntax string.Implode( String seperator, Table table )
Where is this used?
Description:
Takes a table and turns it into a single string.
Returns: String
Part of Library: String
Realm: NewerShared.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=String.Implode]String.Implode [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]


Examples

DescriptionThis example turns the table into a single string with spaces as a seperator.
Used onNewerShared.png
Code
string.Implode(" ", {"This", "Is", "A", "Table"})
Output"This Is A Table"


Additional Notes

See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox