Inno Setup Preprocessor: StringChange

Prototype

str StringChange(str, str, str)

Description

Returns a copy of the first string, with all occurrences of the second string changed to the third string.

Example

#define MyString "a ca c"
#define MyString2 StringChange(MyString, " ", "b")
// MyString2 = 'abcabc'