Used to replace characters within a string.
A character is any letter or number, space character or special characters such as %, ^, &, *, etc.
1. | Input String | (Mandatory) | May be a System, Campaign or Script field In Fig. 1, this is a script field, AvailTxt (e.g. This item is currently AvailStatus) |
2. | Search String | (Mandatory) | The string to be overwritten In Fig. 1, this is the string AvailStatus |
3. | Replace String | (Mandatory) | The string that will take its place In Fig. 1, this is the script variable AvailStatus. |
1. | Output String | The resultant string In Fig. 2, this is captured to the Script variable AvailResult. The Input String (AvailTxt) is not changed |
After this step, AvailResult could for example contain the text, This item is currently available or This item is currently Unavailable, depending on the value of Script variable AvailStatus.