length: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
(New page: ==Function length== Returns the length of a string. ===Usage=== <source lang="mtmacro" line> [h: len = len(str, substr)] </source> ===Example=== <source lang="mtmacro" line> [r, length(...)
(No difference)

Revision as of 16:09, 6 December 2008

Function length

Returns the length of a string.

Usage

[h: len = len(str, substr)]

Example

[r, length("abcde")]

Returns 5