mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 13:06:59 -04:00
689def7325
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@571 0fc631ac-6414-0410-93d0-97cfa31319b6
19 lines
482 B
Plaintext
19 lines
482 B
Plaintext
Function: to_title
|
|
|
|
--Usage--
|
|
> to_title(some_string)
|
|
|
|
Convert a string to title case, where each words starts with an upper case leter.
|
|
|
|
--Parameters--
|
|
! Parameter Type Description
|
|
| @input@ [[type:string]] String to convert.
|
|
|
|
--Examples--
|
|
> to_title("ABC") == "Abc"
|
|
> to_title("123 aBc") == "123 Abc"
|
|
|
|
--See also--
|
|
| [[fun:to_lower]] Convert a string to lower case, @"aBc" -> "abc"@.
|
|
| [[fun:to_upper]] Convert a string to upper case, @"aBc" -> "ABC"@.
|