Replace Question


Recommended Posts

Actually it works fine. Replace is a function, not a statement, so you can't just do:


you have to assign, print, or do something with it. If you want to put it back into strtest, then you need:

strtest = replace(strtest,"h","w")

this is true for all the string functions (and most others)

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.