On Friday, September 12, 2003, at 10:41 AM, Johnson, Shaunn wrote:

Howdy:

Is it possible to use regex to replace
the first n characters of a line?
There are no unique markers or items
to map by in these files ... some lines could
start with number or whatever (special
characters, white space, alpha, etc).

If so, how?

Yes, but use substr() instead.


perldoc -f substr

James


-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to