ReplaceText
Find the syntax, use, parameters, return values, and an example for the ReplaceText macro command in Connexion client.
| Syntax | BOOL = CS.ReplaceText (sOldText, sNewText, bMatchCase) |
|---|---|
| Use to | Replace the first or next occurrence of “found” text with specified text. |
| Parameters |
|
| Comments |
|
| Return values | TRUE if the action is successful, or FALSE if not. |
| Example | Sub Main()
Dim CS As Object Dim sText as String If CS.IsOnline = False Then CS.Search “WC”, “#1” CS.CursorRow = 1 If CS.FindText(“XXX”, False) = False Then If CS.replaceText(“Rand”, “XXX”, False) Then |
| What this example does |
|
