endsWith: Difference between revisions
Jump to navigation
Jump to search
Verisimilar (talk | contribs) No edit summary |
Verisimilar (talk | contribs) m (Macros:Functions:endsWith moved to endsWith) |
(No difference)
|
Revision as of 01:51, 7 March 2009
endsWith() Function
• Introduced in version 1.3b49
Returns 1 if the string ends with a certain sub string.
Usage
[h: result = endsWith(str, substr)]
Examples
[r: endsWith("Test", "t")]
[r: endsWith("Test", "st")]
[r: endsWith("Test", "z")]
Returns
1 10