The Replace attribute function replaces each occurrence of “Find” in the string of the variable with ReplaceBy.
Syntax | ||||||
Replace(Find, ReplaceBy, [LanguageID, [Compare]]) | ||||||
Return value | ||||||
None |
| |||||
Parameter | ||||||
Use |
Name |
Type |
Passing |
Description | ||
Required |
Find |
String |
ByVal |
String to search for in the string | ||
Required |
ReplaceBy |
String |
ByVal |
Each occurrence of "Find" is replaced by ReplaceBy | ||
Optional |
LanguageID |
String |
ByVal |
Language-ID of the value | ||
Optional |
Compare |
CompareModes |
ByVal |
Language-ID of the value | ||
Note | ||||||
If LanguageID is not specified, the dialog language applies. | ||||||
CompareModes |
Description |
0 – BinaryCompare |
An exact comparison is carried out |
1 – TextCompare |
Uppercase and lowercase letters are not considered |