Space Index by test

ARGF.map(&:chomp).each{|z|b=z.split(' ');b[0]?(b[1]?(c=b[0].split(',');i=0;puts b[1].split('').inject(''){|s,w|s<<' 'if c.include?(i.to_s);i+=1;s<<w}):puts(b[0])):puts('')}

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return top