Talk:StrReplace

Revision as of 19:18, 13 July 2007 by imported>Talkie Toaster (New page: 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 "chocol...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.

Return to "StrReplace" page.