Purpose
Returns the string argument string1, with its right-most characters removed up to the first character that is not in the string argument string2.
Returns the string argument string1, with its right-most characters removed up to the first character that is not in the string argument string2.