DataLab is a compact statistics package aiming at exploratory data analysis. Please visit the DataLab Web site for more information....


ReplaceCharInString

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