Difference between revisions of "Talk:StrReplace"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Talkie Toaster
imported>Speedo
 
(One intermediate revision by the same user not shown)
Line 13: Line 13:


And simply output "Silly bugger" (and "bugger" and "chocolate"). Not so good.[[User:Talkie Toaster|Talkie Toaster]] 20:20, 13 July 2007 (EDT)
And simply output "Silly bugger" (and "bugger" and "chocolate"). Not so good.[[User:Talkie Toaster|Talkie Toaster]] 20:20, 13 July 2007 (EDT)
:In that particular case you'd want to use [[StrIDReplace]]. --[[User:Speedo|Speedo]] 00:00, 16 February 2008 (EST)

Latest revision as of 00:01, 16 February 2008

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)