starts-with Function
A version of this page is also available for
4/8/2010
Returns True if the first argument string starts with the second argument string; otherwise returns False.
boolean starts-with(string, string)
- string
A string.
- string
A string.
Returns True if the first argument string starts with the second argument string; otherwise returns False.
If an argument is not of type string, it is first converted to a string and then evaluated.
The following function call returns True.
starts-with("mysampletest", "mysample")