This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| 4rpl:commands:stringreplace [2021/01/08 16:01] – external edit 127.0.0.1 | 4rpl:commands:stringreplace [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ~~NOTOC~~ | + | < |
| - | < | + | < |
| ====== StringReplace ====== | ====== StringReplace ====== | ||
| - | StringReplace (< | + | |
| + | StringReplace(< | ||
| ===== Description ===== | ===== Description ===== | ||
| - | string ARG1: The string to be searched string ARG2: The string to search for in ARG1 string ARG3: The string to replace ARG2 with | ||
| Searches a string for all instances for another string, and replaces them with a different string. | Searches a string for all instances for another string, and replaces them with a different string. | ||
| + | |||
| + | * **inputString**: | ||
| + | * **match**: The string to search for in inputString | ||
| + | * **replace**: | ||
| ===== Examples ===== | ===== Examples ===== | ||
| + | |||
| <code 4rpl> | <code 4rpl> | ||
| Trace(StringReplace (" | Trace(StringReplace (" | ||
| </ | </ | ||
| + | |||
| < | < | ||
| + | |||
| + | ~~NOTOC~~ | ||