in reply to First Perl Assignment... First taste of Perl: File, String Edit
Hi,
First some general advice - always use strict and use warnings
For this problem have alook at split and substr
Always show what you have tried so far, PerlMonks help those who have helped themselves.
J.C.