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....



ReplaceCharInString


Unit:SDL_stringl
Class:none
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: 2023-Feb-06