No such thing as a small change | |
PerlMonks |
Re^3: In search of a better way to trim string lengthby kiat (Vicar) |
on Jul 19, 2004 at 13:31 UTC ( [id://375544]=note: print w/replies, xml ) | Need Help?? |
Hm...yours doesn't produce the desired outputs. Given the following inputs: 1) "thisisthelongesttopicthatwilleverbepostedinperlmonks" 2) "this is the longest topic that will ever be posted in perlmonks" Desired outputs: 1a) thisisthelongesttopicthatwille ... 2a) this is the longest topic ... Yours gave the following outputs:
1a) thisisthelongesttopicthatwille... 2a) this is the longest topic that will ever be posted in perlmonks Did I miss something?
In Section
Seekers of Perl Wisdom
|
|