JCL Help:StrReplaceChar@AnsiString@AnsiChar@AnsiChar
From Project JEDI Wiki
Jump to navigationJump to searchJCL Help: StrReplaceChar Function
[+] JclAnsiStrings.pas Functions
Search in JCL Help
Search in all projects
Summary
Replaces all occurrences of a character with another character
Pascal
function StrReplaceChar(const S: string; const Source: Char; const Replace: Char): string;
function StrReplaceChar(const S: AnsiString; const Source: AnsiChar; const Replace: AnsiChar): AnsiString;
Parameters
Parameters | Description |
const S: string | The source string. |
const Replace: Char | The character to use as a replacement of Search. |
Search | The character to replace. |
Return Value
The string with all replacements performed.
Description
StrReplaceChar replaces all occurrences of the specified search character with the supplied replace character. Note that the replacement is case-sensitive.
About
Unit
Donator
Anonymous
Contribute to this help topic
This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page