I have a string that has an ending period (example - 'This is a string.'). I
want to trim the trailing period off of the string. I've tried using: 

 'This is a string.' trimRight: [ :ea | ea = $. ] 

But, the period is not trimmed. Is there a way to do this without me having
to extend the String class? 



-----
Brad Selfridge
--
View this message in context: 
http://forum.world.st/trimRight-problem-tp4915603.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

Reply via email to