From: botp Date: 2008-09-22T09:32:37+09:00 Subject: Re: Iterating through a string On Mon, Sep 22, 2008 at 6:37 AM, William James wrote: > "I love guitar playing".gsub( /\S+/ ){|s| s.capitalize} > ==>"I Love Guitar Playing" it would be great if #split accept a block, too