Collection of Delphi useful functions and procedures
ON THIS BLOG, DELPHI PROGRAMMERS CAN FIND FREE USEFUL FUNCTIONS AND PROCEDURES
Replace Char Delphi Function
function
ReplaceChar
(
s
:
string
;
c
:
Char
;
charrep
:
Char
):
string
;
begin
while
Pos
(
c
,
s
) >
0
do
s
[
Pos
(
c
,
s
)] :=
charrep
;
ReplaceChar
:=
s
;
end
;
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment