substring-after( )
string
substring-after(string s1, string s2
)
The substring-after()
function returns the substring of s1
that follows the first occurrence of
s2
in s1
, or it returns the empty string, if
s1
does not contain s2
. For example, substring-after('Charming
cat'
, 'harm')
returns "ing cat
". The test is case-sensitive. As
usual, nonstring objects may be passed to this function, in which
case they're automatically converted to strings, as if by the
string( )
function.