On Fri, Oct 2, 2009 at 1:21 PM, Raman.P <[email protected]> wrote: >> >> I wonder how to do it in perl/python. I don't have any idea >> at >> the top of my mind. > > python is not in my mind. Here is perl solution. > > use Text::Wrap $Text::Wrap::columns=60; > $line='hello this is line very long and lengthy and perl will split it'; > print wrap('','',$line); >
Wow Raman. You made my day! Wonderful. -Girish -- Gayatri Hitech web: http://gayatri-hitech.com SpamCheetah Spam filter: http://spam-cheetah.com _______________________________________________ To unsubscribe, email [email protected] with "unsubscribe <password> <address>" in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
