MSDN String Function Reference
string substring(string, number, number?)
- Returns a substring of a given string starting at the given starting position and continuing to the end of the string.
string substring-before(string, string)
-Returns the substring of the first argument string that precedes the first occurrence of the second argument string in the first argument string, or the empty string if the first argument string does not contain the second argument string.
string substring-after(string, string)
Returns the substring of the first argument string that follows the first occurrence of the second argument string in the first argument string, or the empty string if the first argument string does not c ontain the second argument string.
number string-length(string)
Returns the number of characters in the string.