From: 7stud -- Date: 2009-02-13T03:43:02+09:00 Subject: Re: * before string 7stud -- wrote: > Jonatas Paganini wrote: >> >> @name, @type = *s.split(':') >> >> Why and where use * before string? >> > > Your statement is equivalent to: > > @name, @type = *(s.split(':') ) > ...and it looks like the * is redundant: x, y = ["snowboard", "skis", "sled"] puts x, y --output:-- snowboard skis -- Posted via http://www.ruby-forum.com/.