From: 7stud -- Date: 2007-09-22T20:42:36+09:00 Subject: Re: %w| a b c| %w_a b c_ %w all work SpringFlowers AutumnMoon wrote: > all work > is there an official doc or book that says so? > If you look up %w at the beginning of the index in pickaxe2, it directs you to p. 322, which has a section titled Arrays. In that section, it says %w is a form of general delimited input described on p. 318-319. Looking on those pages, it says: "Following the type character is a delimiter, which can be any nonalphabetic or nonmultibyte character. If the delimiter is one of the characters (, [, {, or <, ....blah, blah, blah...[the ending character must be: ), ], }, or > respectively]. For all other delimiters, [the ending character is the next occurrence of the starting delimiter]." -- Posted via http://www.ruby-forum.com/.