REPVAR Variable OldString NewString CI|CS Will replace all occurances of OldString in Variable with NewString. CS means case sensitive, CI case insensitive. example : x = "This is a test string" RepVar x "is" "XXX" CI ; now x will contain "ThXXX XXX a test string" If you want to make replacements on *all* the records of a listview you can use the - LVREP OldString NewString CI|CS - command.