in reply to Make things a *little* easier
in thread a farewell to chop
Copy all except the last vs remove the last; the latter could be much more efficient for a large string.
is what I was thinking.substr ($str, -1, 1, '');
|
---|
In Section
Meditations