You could escape the back-slash, or more readably, pass it in using an alternate delimiter, or simpler still, as a string
Actually, that's not a string; it's a regular expression with single quote delimiters. The first argument to split() is always a regular expression except in the one special case of ' '. Try splitting on '*' sometime. :-)
In reply to Re: Re: split trying to look for /
by duff
in thread split trying to look for /
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |