Get the string up to and not including the given token.
The string to search for.
Generated using TypeDoc
Get the string up to and not including the given token.