perl/regex question

Jul 18, 2006 16:38

anyone know a way in perl to go through a text file and turn every Xth character into something else?

The main program I take care of at work stores most of it's data in text (or binary with text) files, with fields determined by character (or byte) position, like every 30th character starts a field. I'd like to be able to easily (like by script) delimit copies of the files so I can analyze them in whatever program I feel like.

ThankeesIA
Previous post Next post
Up