The ReplaceValue attribute function replaces each occurrence of “Find” with ReplaceBy and returns the result.
|
Syntax | |||||
|
ReplaceValue(Find, ReplaceBy, [LanguageID, [Compare]]) | |||||
|
Return value | |||||
|
Type |
Description | ||||
|
String |
Result of the replacement | ||||
|
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 |