Substitute - cRegEx¶
Include: Use System\Regex.pkg
Replaces the first match.
Type: Function
Return data type: String
Parameters¶
| Parameter | Type | Description |
|---|---|---|
sSubject |
String | Input text. |
sReplacement |
String | Replacement text. |
Syntax¶
External_Function Substitute String sSubject String sReplacement Returns String
Call¶
Get Substitute of hoRegex "cat dog" "fox" to sResult
Description¶
Replaces the first match.