From: Gavin Sinclair Date: 2004-09-28T15:45:29+09:00 Subject: Re: Wish list for 2.0 On Tuesday, September 28, 2004, 2:40:02 PM, Yukihiro wrote: > Hi, > In message "Re: Wish list for 2.0" > on Tue, 28 Sep 2004 13:01:24 +0900, STEPHEN BECKER I V writes: > |does that work for end lines in the middle of a string? or a tab? I > |mean all white space.. > str.delete(" \n\t") > if you wish. Perhaps String#delete could take a regex as well? str.delete /\s/ Gavin