[Newbies] Remove trailing spaces of aString
hannes.hirzel at gmail.com
Fri Apr 27 19:28:54 UTC 2012
This is actually the problem
'abc ' trimRight
does not work in
4.3, Update 11860 (= the version in the one-click download from
Which version do you use?
On 4/27/12, blake <dsblakewatson at gmail.com> wrote:
> In a Workspace, try:
> 'abc ' trimRight
> There's also trimLeft and a trimBoth. You can browse the String class
> to see them. You can also see the code in there which gives a hint as
> to how easy it is to modify for different character.
> On Fri, Apr 27, 2012 at 8:27 AM, H. Hirzel <hannes.hirzel at gmail.com> wrote:
>> I use Squeak 4.3, Update 11860.
>> I want to remove the trailing spaces and or tabs and LF of a String
>> something like
>> should just be
>> 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
>> Beginners mailing list
>> Beginners at lists.squeakfoundation.org
> Beginners mailing list
> Beginners at lists.squeakfoundation.org
More information about the Beginners