Empty element in string array?


#1

%w(a \ b) #-> [“a”, " ", “b”]

is it possible to get output [“a”, “”, “b”] ?


#2

On 3/6/06, Simon S. removed_email_address@domain.invalid wrote:

%w(a \ b) #-> [“a”, " ", “b”]

is it possible to get output [“a”, “”, “b”] ?

argh… nevermind

%W(a #{} b) #=> [“a”, “”, “b”]