in reply to Re: Breaking String
in thread Breaking String
print "Now using Wrap method \n"; $Text::Wrap::columns = 60; my $text = wrap('', '', $smstext); my @chunks = split(/\n/,$text); # split $text into chunks print $chunks[0]."\n".$chunks[1],"\n"; #take first two lines
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Breaking String
by brsaravan (Scribe) on Oct 17, 2008 at 10:52 UTC | |
Re^3: Breaking String
by LxP (Novice) on Oct 19, 2008 at 03:46 UTC |