Escape character treatment in string library functions



Can I change the escape character used by string libraries?. My
requirement is to
parse a string in format "domain\username" and change it into domain\
\username.
The C library functions takes \ as an escape character and also treat
'\r' etc special making it difficult to parse even char by char.

Can anyone suggest any solution to this issue


.



Relevant Pages