Ignore this message... same question posted in comp.lang.ruby:71418 On Thu, 30 Sep 2004 17:25:29 -0400 Dany Cayouette <danyc / nortelnetworks.com> wrote: > Any advice/ideas on the best way of attacking field split on ';' when the string looks like: > > s = 'a;b;c\;;d;' > > i.e. field delimiter is ';', and if ; appears in field data ; => \; > > Any regex magic? or should I use s.each_byte and do it by hand? > > Thanks, > Dany