mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@634 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
Function: trim
|
||||
|
||||
--Usage--
|
||||
> trim(some_string)
|
||||
|
||||
Remove leading and trailing whitespace from a string.
|
||||
|
||||
--Parameters--
|
||||
! Parameter Type Description
|
||||
| @input@ [[type:string]] String to remove whitespace from.
|
||||
|
||||
--Examples--
|
||||
> trim(" abc ") == "abc"
|
||||
> trim(" one two three ") == "one two three"
|
||||
Reference in New Issue
Block a user