E
Enter The
How do I split an escaped string?
For example, I have a string where \ is the escape character.
So if the string is:
abc def\:ghf : xyz
and I split it by :,
I'd want to return the strings
"abc def\:ghf"and "xyz".
Not "abc def\", "ghf" and "xyz".
Thanks,
Enter
For example, I have a string where \ is the escape character.
So if the string is:
abc def\:ghf : xyz
and I split it by :,
I'd want to return the strings
"abc def\:ghf"and "xyz".
Not "abc def\", "ghf" and "xyz".
Thanks,
Enter