If you're trying to split a long string into smaller strings of 60
characters each, you can take a look at the substr function and build
a loop around it.
http://www.perlmeme.org/howtos/perlfunc/substr.html

Mahurshi Akilla

On Sep 4, 5:29 am, [EMAIL PROTECTED] (Pedro Soto) wrote:
> Hi,
> I have a file with lines of 60 characters each. I would like to
> split every line into its 60 characters, but there is not any delimiter
> between them. Something like: ABCDEFGHIJK etc.
> Is there anyway to do it?
> Many thanks in advance,
> Cheers,
> P. Soto


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to