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