Search and Replace
Daniel Salama
dsalama at user.net
Tue Mar 29 23:17:10 UTC 2005
Is there an easy way to do search and replace within a string.
For example, give:
'this is foo test'
to replace foo with bar and end up with:
'this is bar test'?
Thanks,
Daniel
P.S. Sorry for the simple question but I just can't find the answer. I
would assume there is an easy way of doing this other than involving
"complicated" logic using String#replaceFrom
More information about the Squeak-dev
mailing list
|