XSLT » XPath Core Functions » substring

Syntax:
string = substring(string, start, length)

The substring function returns a portion out of the string specified in the string argument as determined by the starting point specified in the start argument and also by the optional length specified in the length argument.