in reply to Re: Rounding to the nearest word
in thread Rounding to the nearest word

It guarantees a maximum of 50 chars, but it cuts off the last word if it ends on the 50th char.

substring to 51 characters should solve that, shouldn't it?

Replies are listed 'Best First'.
Re^3: Rounding to the nearest word
by Joost (Canon) on Dec 24, 2004 at 21:17 UTC