Difference between revisions of "StrReplace"
(Created page with "function StrReplace(Source, Search, Replace: string): string; '''Parameter Info:''' Source (String): Source string to be replaced Search (String): Text to search Repl...") |
(No difference)
|
Latest revision as of 13:42, 15 August 2012
function StrReplace(Source, Search, Replace: string): string;
Parameter Info: Source (String): Source string to be replaced Search (String): Text to search Replace (String): Text to replace Description: This function returns a string with all occurrences of search in source replaced with the given replace value. This function isn't documented in the eC manual.
Examples
begin
WriteLn(StrReplace('XMRIPPER', 'R', 'Y')); //This will write 'XMYIPPEY' to console.
end;