The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....


Declaration:function ReplaceCharInString (Instring: string; OldChar, NewChar: char): string;

The function ReplaceCharInString replaces all occurrences of the character OldChar in the string Instring by the character NewChar. The resulting string is returned as the function result.


Last Update: 2012-Oct-20