Assuming you will only have one instance of a word in the text..
text = "apples;oranges;bananas"
changedtext = System -> Replace( text, "apples", "kiwis" )
or just..
text = System -> Replace( text, "apples", "kiwis" )
I just used changedtext for clarity.