DataLab
is a compact statistics package aiming at exploratory data analysis. Please visit the
DataLab Web site
for more information....
Home
Programming DataLab
DLabPascal
Strings
ReplaceCharInString
See also:
RemoveCharInString
,
ReplaceControlChars
Index
Statistical Background
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.