From: Mike Campbell Date: 2003-10-12T12:50:16+09:00 Subject: splitting a line by columns I have a line of text output in columnar form; what's the best way to split it into its requisite parts? Say I have lines of aaaaabbcccccddeee I can do something like: md = /(.....)(..)(.....)(..)(...)/.match(line); # seems klugy somehow Thoughts?