Remy Guo wrote:
hi all,
Hello,
i have a txt log file and i want to delete the 9th character of each line. how can i do it using regex?...thanks!
It would be easier to use substr(): substr $line, 8, 1, ''; John -- Perl isn't a toolbox, but a small machine shop where you can special-order certain sorts of tools at low cost and in short order. -- Larry Wall -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/