underscores word wrap function removes escape characters

28 Views Asked by At

consider the following string:

hello \\c[12]there\\c[0]

When passed to the wrap it translates the string to:

hello
\c[12]there\c[0]

How ever I want it to return:

hello
\\c[12]there\\c[0]

Any ideas?

0

There are 0 best solutions below