in reply to Splitting Array with Variable Spaces
It seems like your table is very regular and thus it might be better to use substr(). This will probably be faster.
if( substr($item, $start_col1, $width1) < substr($item, $start_col2, $width2)) { .... }
|
|---|