Talk:StrReplace

Revision as of 00:00, 16 February 2008 by imported>Speedo

Well, my test code was:

Example:
set sentence to StrNew
set paragraph to StrNew
set book to StrNew
StrSet sentence "Silly bugger"
StrSet paragraph "bugger"
StrSet book "chocolate"
strreplace sentence paragraph book
strprint sentence
strprint paragraph
strprint book

And simply output "Silly bugger" (and "bugger" and "chocolate"). Not so good.Talkie Toaster 20:20, 13 July 2007 (EDT)

In that particular case you'd want to use StrIDReplace. --Speedo 00:00, 16 February 2008 (EST)

Return to "StrReplace" page.