Get the string before the last instance of the found token.
The string to search for.
Generated using TypeDoc
Get the string before the last instance of the found token.