[Newbies] Remove trailing spaces of aString

H. Hirzel hannes.hirzel at gmail.com
Fri Apr 27 15:27:28 UTC 2012


Hello

I use Squeak 4.3, Update 11860.

I want to remove the trailing spaces and or tabs and LF of a String

something like
'abc
'

should just be
'abc'.

If I remember  that there was a method in class String to something
like this. Is this correct?
Is there a package with additional String convenience methods?

Thank you for the answer in advance
--Hannes


More information about the Beginners mailing list