syntax:functions:replacebetween
Differences
This shows you the differences between two versions of the page.
syntax:functions:replacebetween [2023/10/14 00:10] – created craigt | syntax:functions:replacebetween [2025/03/18 16:57] (current) – update to include N argument craigt | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== ReplaceBetween(text, | + | ====== ReplaceBetween(text, |
Category: | Category: | ||
Line 17: | Line 17: | ||
|string2|Text (must //not// be empty)|The text string that defines the //ending point// of the text to be replaced.| | |string2|Text (must //not// be empty)|The text string that defines the //ending point// of the text to be replaced.| | ||
|contents|Text (must //not// be empty)|The text string to be inserted between //string1// and // | |contents|Text (must //not// be empty)|The text string to be inserted between //string1// and // | ||
+ | |N |Number (optional)|This value defines which occurrence to replace. | ||
**Return value type:** Text | **Return value type:** Text | ||
Line 36: | Line 37: | ||
replacebetween('< | replacebetween('< | ||
- | | + | replacebetween(' |
- | + | ||
- | | + | |
replacebetween(' | replacebetween(' | ||
Line 45: | Line 44: | ||
\\ | \\ | ||
===== See also ===== | ===== See also ===== | ||
+ | * [[syntax: | ||
* [[syntax: | * [[syntax: | ||
+ | * [[syntax: |
syntax/functions/replacebetween.txt · Last modified: 2025/03/18 16:57 by craigt