string.Trim
From GMod Wiki
Revision as of 21:11, 3 August 2010 by KnowledgeJunkie (Talk | contribs)
| Function | |
| Syntax |
string.Trim( String string, [ String char ] ) Where is this used? |
| Description: | |
| Removes leading and ending white spaces from a string. | |
| Returns: | String |
| Part of Library: | String |
| Realm: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=String.Trim]String.Trim [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Example
Additional Notes
- If char is specified, the string gets that character trimmed off instead of a space.