The starts-with() function tests whether one string starts with another string.
For example, the expression «starts-with('$17.30', '$') » returns true.
Argument | Data Type | Meaning |
---|---|---|
input | xs:string? | The containing string |
test | xs:string? | The test string |
collation (optional) | xs:string | The collation to be used for comparing strings |
Result | xs:string? | true if the input string starts with the test string, otherwise false |