mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 13:06:59 -04:00
15 lines
317 B
Plaintext
15 lines
317 B
Plaintext
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"
|