in reply to Breaking huge text file apart

You just want the 11th hour text, right? On my browser, I can see a weird ASCII character just before it. Let's say, for the purpose of the argument that it is ASCII code 15. The following code would do the trick:

while( <IN> ) { chomp; my $title = substr( $_, rindex( $_, chr(15) ) + 1 ); }

There will be a few spaces left before the first 1 in "11th" but I figure you know how to deal with that. For instance, if there are a fixed number of spaces, you could say rindex( $_, chr(15) ) + 4. The key to the solution is the use of rindex, which will be a good deal faster than using a regex.

--
g r i n d e r