in reply to Re^2: In search of a better way to trim string length
in thread In search of a better way to trim string
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...
verbepostedinperlmonks
2a) this is the longest topic that will ever be posted in perlmonks
Did I miss something?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: In search of a better way to trim string length
by Vennis (Pilgrim) on Jul 19, 2004 at 14:26 UTC |