Removes paired preceding and trailing tokens around a string line. Assumes ASCII.
You should normally not need to use this directly; rather see unquoted and unsinglequoted for the usual cases.
Token character to strip away.
String line to remove any enclosing tokens from.
A slice of the passed string line without enclosing tokens.
unquoted
unsinglequoted
Removes paired preceding and trailing tokens around a string line. Assumes ASCII.
You should normally not need to use this directly; rather see unquoted and unsinglequoted for the usual cases.