starts-with() The starts-with() function tests whether the first argument string starts with the second argument substring. Syntax: boolean starts-with(string, substring) Arguments: The whole string, the substring. If the values aren't strings, they are converted using the rules of the string() function. Results: A boolean. If the string begins with the substring, true. Otherwise, false. Defined: XPath, 4.2. NS support: Supported.
The starts-with() function tests whether the first argument string starts with the second argument substring.
boolean starts-with(string, substring)