length: Difference between revisions
Jump to navigation
Jump to search
(→Usage) |
No edit summary |
||
(6 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
= | {{MacroFunction | ||
|name=length | |||
|version=1.3b48 | |||
|description= | |||
Returns the length of a string. | Returns the length of a string. | ||
|usage= | |||
< | <syntaxhighlight lang="mtmacro" line> | ||
length(str) | |||
</ | </syntaxhighlight> | ||
|example= | |||
< | <syntaxhighlight lang="mtmacro" line> | ||
[r, length("abcde")] | [r, length("abcde")] | ||
</ | </syntaxhighlight> | ||
Returns 5 | Returns 5 | ||
}} | |||
[[Category:String Function]] |
Latest revision as of 17:43, 15 March 2023
length() Function
• Introduced in version 1.3b48
Returns the length of a string.
Usage
length(str)
Example
[r, length("abcde")]