[Newbies] Find and replace

an organic seasidebeginner at gmail.com
Sun Dec 30 12:23:49 UTC 2007


i am new to smalltalk and i look for some easy way to find some substring in
another string and replace it by another substring:

example: string := 'Hello how are you? I am fine. Thank you and you?'
substring to find 'you' replace by 'AA'

transform to 'Hello how are AAA? I am fine. Thank AAA and AAA?'

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/beginners/attachments/20071230/9b7d14d7/attachment.htm

More information about the Beginners mailing list