Syntax |
Example |
Description/Remarks |
REPLACE "text", "old_pattern", "new_pattern" |
REPLACE "1,234,567.8", ",", "" Removes all group separators from the number string and returns the string 1234567.8 SVar 1 = "A-50RSL Width" : Replaces the '*' character with the contents of SVar 1 and returns the string "Update specs for A-50RSL?" |
Searches text for the old_pattern and replaces any occurrences with the new_pattern. Returns a string value. The parameters "text", "old_pattern", and "new_pattern" must all be string values. |