Subject: Re: empty element in string array?
From: "Simon Strandgaard" <neoneye gmail.com>
Date: Tue, 7 Mar 2006 01:45:01 +0900
References: 182765
In-reply-to: 182765
On 3/6/06, Simon Strandgaard <neoneye / gmail.com> wrote:
> %w(a \ b) #-> ["a", " ", "b"]
>
>
> is it possible to get output ["a", "", "b"] ?
>
argh.. nevermind
%W(a #{} b) #=> ["a", "", "b"]
--
Simon Strandgaard