From: Simon Strandgaard Date: 2005-12-06T13:09:16+09:00 Subject: Re: String split drops the delimiter On 12/6/05, basi wrote: > Hi, > This works for me. > Thanks much! > basi anternatively data = " This is a declarative sentence. And is this a question? Yes! " data.gsub!(/(?<=[.?!])/, "\n") # -> " This is a declarative sentence.\n And is this a question?\n Yes!\n " -- Simon Strandgaard