startsWith: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
m (Applied Template:MacroFunction)
(No difference)

Revision as of 05:07, 9 March 2009

startsWith() Function

Introduced in version 1.3b49

Usage

[h: result = startsWith(str, substr)]

Examples

[r: endsWith("Test", "T")]
[r: endsWith("Test", "Te")]
[r: endsWith("Test", "Tez")]

Returns

   1
   1
0