On Thu, 1 Mar 2001, Arno Erpenbeck wrote: > line.gsub(/[a-zA-Z\s]{3,3}/) {|p| print "#{p},"} > Input "The man sees the boy with the telescope." > Output "The, ma,n s,ees, th,e b,oy ,wit,h t,he ,tel,esc,ope," > Desired output "The,he ,e m, ma,man,..." % a="The man sees the boy with the telescope." % 0.upto(a.length - 3) {|i| print "#{a[i,3]},"} The,he ,e m, ma,man,an ,n s, se,see,ees,es ,s t, th,the,... -- spwhite / chariot.net.au