Scripting
>>
Perl
>>
How to split a string containing meta charaters such as \
eg. to split a string containing a|http://b.c.d by delimiter | $string = 'a|http://b.c.d'; ($first,$second) = split(/[|]/,$string); note that the pattern /[|]/ is not enclosed within single or double quote.
Please enable JavaScript to view the
comments powered by Disqus.