...continua...
" Before that, Split("abcd",";","\\;") did nothing useful, as an escape
character cannot be a splitting character. No error was raised in that
case, you just got some undefined behaviour.
So I decided to use that syntax to implement a different way of
splitting the string. Instead of escaping with enclosing characters
(everything between these two characters cannot be split), I escape
characters one by one with the special character indicated in the
beginning of the escape string.
Regards,
--
Benoît Minisini "
" I would like to see an example of before and after as well.
I think I had a need for exactly this the other day. I wanted to split a comma delimited list except where the comma is immediately followed by a space. Will this change help that?
regards
Bruce "
" No. It's for splitting such string with the ';' character:
"blue;blue\\;yellow;green"
to get:
["blue","blue;yellow","green"]
--
Benoît Minisini "