Microsoft XML SDK 2.6 - XSLT Reference

starts-with Function

Returns True if the first argument string starts with the second argument string; otherwise returns False.

boolean starts-with(string, string)

Remarks

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("foobar", "foo")

See Also

XML Data Types Reference