User Tools

Site Tools


4rpl:commands:stringreplace

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
4rpl:commands:stringreplace [2021/01/08 11:01] – external edit 127.0.0.14rpl:commands:stringreplace [2023/01/13 13:35] (current) – Inserted a Write into API display. Vertu
Line 1: Line 1:
-~~NOTOC~~ + <=[[4rpl:start| Index]] \\ 
-<=[[4rpl:start| Index]]+<=[[4rpl:start#strings| Strings]] 
  
 ====== StringReplace ====== ====== StringReplace ======
-StringReplace (<-inputString <-match <-replace)+ 
 +StringReplace(<-inputString <-match <-replace) ->newString
  
 ===== 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**: The string to be searched
 +  * **match**: The string to search for in inputString
 +  * **replace**:The string to replace all match occurrences with
  
 ===== Examples ===== ===== Examples =====
 +
 <code 4rpl> <code 4rpl>
 Trace(StringReplace ("Where there's a will, there's a way." "will" "way")) Trace(StringReplace ("Where there's a will, there's a way." "will" "way"))
 </code> </code>
 +
 <=[[4rpl:start| Index]] <=[[4rpl:start| Index]]
 +
 +~~NOTOC~~
  
4rpl/commands/stringreplace.1610121708.txt.gz · Last modified: 2021/01/08 11:01 by 127.0.0.1