Returns the substring of the first argument string that precedes the first occurrence of the second argument string, or the empty string if not found.
See also the XPath specification.