Anothjer silly String question

Bob.Cowdery at Bob.Cowdery at
Tue Nov 15 13:42:54 UTC 2005

I'm trying to figure out not just a way to do various string manipulations
but the right way as it's pretty basic stuff. Apart from taking substrings
and concatenating them is there a way to remove characters from a string.


e.g. I have a string '3.669' and I want to remove the '.'

In a workspace I can type '3.669' replaceAll: $. with: $ and then print it
and it works provided there is nothing after the second $. However in a
method if I put a dot after the last $ as a terminator it takes it as a
character and wants another dot for the terminator. I tried it in a block
and still can't get away without putting a dot after the $. Is there some
way to express this or am I barking up the wrong tree again.




*** Confidentiality Notice *** Proprietary/Confidential
Information belonging to CGI Group Inc. and its affiliates
may be contained in this message. If you are not a recipient
indicated or intended in this message (or responsible for
delivery of this message to such person), or you think for
any reason that this message may have been addressed to you
in error, you may not use or copy or deliver this message
to anyone else.  In such case, you should destroy this
message and are asked to notify the sender by reply email.
-------------- next part --------------
An HTML attachment was scrubbed...

More information about the Squeak-dev mailing list