ArcBasicDocs

Replace

Replaces all occurrences of find$.

Replace ( string$,find$,replace$ )

Parameters

string$
the text.
find$
the text to look for.
replace$
what to put in its place. It can be empty, to remove find$.

Description

Gives back a string with every copy of one piece of text changed to another: Replace("a-b-c", "-", "+") is "a+b+c". Capitals must match.

See also