in reply to Positional regex statements
(watch out for 0-based offsets!) If you really want a regexp solution, you could do something likesubstr($_, 10, 1)=',';
s/^(.{10})./$1,/;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Positional regex statements
by jcoxen (Deacon) on Oct 04, 2004 at 18:54 UTC |