M
Mark Probert
Hi, Rubyists.
What is the best way of attacking field split on ';' when the string looks
like:
s = 'a;b;c\;;d;'
s.split(/???;/)
=> ["a", "b", "c\;", "d"]
Or is it best to use s.each_byte and do it by hand?
What is the best way of attacking field split on ';' when the string looks
like:
s = 'a;b;c\;;d;'
s.split(/???;/)
=> ["a", "b", "c\;", "d"]
Or is it best to use s.each_byte and do it by hand?