This wiki is a copy of the original Oblivion CS wiki created and maintained by the UESP.net. See CSwiki:Copy Notice for more info.

Talk:StrReplace

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search

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)