in reply to How to format such a string?
What are your rules to transform the input string to the output string?
I don't see any obvious connection, so can't help much.
Once you've sorted out the rules then I'd use split,length & join
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: How to format such a string?
by Anonymous Monk on Jun 16, 2013 at 00:45 UTC | |
by RichardK (Parson) on Jun 16, 2013 at 14:04 UTC |
In Section
Seekers of Perl Wisdom