Perl Monk, Perl Meditation | |
PerlMonks |
Adding a TAB after a certain ammount of charactersby biancoari (Initiate) |
on Apr 16, 2013 at 20:30 UTC ( [id://1029006]=perlquestion: print w/replies, xml ) | Need Help?? |
biancoari has asked for the wisdom of the Perl Monks concerning the following question: Hello, I need your assistance regarding coding, I have a txt file with several lines like this one "2013020400000000006810083610022013068100200220130688000200494" what I need to do is add a TAB after the first 17 numbers, another one after the next 6 numbers, another one after the next 31 numbers, another one after the next 3 and another after the other 3, in every line, anyone can please guide me on how to complete this task? Thanks for the assistance guys
Back to
Seekers of Perl Wisdom
|
|