Description
PSCReplace method modifies the string, specified by S, by replacing the substring with another substring from the given position. Example: s := 'old string old string old string'; PSCReplace(s,1,'old','New String'); After this call the S string will contain the following: 'New String string old string old string' S - the source string where the changes will be applied Index - the position in the S string, from where the substring begins OldStr - the replaced substring
NewStr - the substring that will be placed instead the OldStr.