lower: Difference between revisions
Jump to navigation
Jump to search
(New page: ==Function lower== Returns the lower case version of a string. If the number of characters is not specified then the whole string is converted to lower case. ===Usage=== <source lang="mtm...) |
Verisimilar (talk | contribs) m (Applied Template:MacroFunction) |
||
Line 1: | Line 1: | ||
= | {{MacroFunction | ||
|name=lower | |||
|description= | |||
Returns the lower case version of a string. If the number of characters is not specified then the whole string is converted to lower case. | Returns the lower case version of a string. If the number of characters is not specified then the whole string is converted to lower case. | ||
|usage= | |||
<source lang="mtmacro" line> | <source lang="mtmacro" line> | ||
[h: str = lower(str)] | [h: str = lower(str)] | ||
Line 8: | Line 10: | ||
</source> | </source> | ||
|example= | |||
<source lang="mtmacro" line> | <source lang="mtmacro" line> | ||
[r: lower("This Is a Test")] | [r: lower("This Is a Test")] | ||
Line 17: | Line 18: | ||
this is a test | this is a test | ||
this Is a Test | this Is a Test | ||
}} | |||
[[Category:String Function]] |
Revision as of 03:01, 9 March 2009
lower() Function
Returns the lower case version of a string. If the number of characters is not specified then the whole string is converted to lower case.
Usage
[h: str = lower(str)]
[h: str = lower(str, numChars)]
Example
[r: lower("This Is a Test")]
[r: lower("This Is a Test", 1)]
Returns
this is a testthis Is a Test