starts-with()
This function returns "true" if text a starts with prefix text b.
Parameters
|
Parameter |
Description |
|
a |
Text. |
|
b |
Prefix text. |
|
c |
(optional) Start index of a for the comparison. Offset: 1. Default: 1. |
Examples
|
Parameter a |
Parameter b |
Parameter c |
Result |
|
abcdef |
abc |
|
true |
|
abcdef |
ABC |
|
false |
|
Hello |
He |
|
true |
|
Hello |
He |
2 |
false |