Escapes each occurrence of an element of Tokens in str by inserting the escape pattern escape into str before the occurrence.
string with characters to escape; changed in-place
escape pattern to prepend to each token occurrence
List of special characters to escape; empty string indicates to do nothing. '\0' tokens are not allowed.
resulting string
See Implementation
Escapes each occurrence of an element of Tokens in str by inserting the escape pattern escape into str before the occurrence.