startsWith

From RPTools Wiki
Jump to navigation Jump to search

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