This shows you the differences between two versions of the page.
en:replace [2016/08/12 21:09] admin |
en:replace [2020/02/28 10:46] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Replace (Function) ===== | ||
- | |||
- | ==== Format ==== | ||
- | **replace** ( [[stringexpressions|haystack_string_expression]] , // | ||
- | **replace** ( [[stringexpressions|haystack_string_expression]] , // | ||
- | |||
- | returns // | ||
- | |||
- | ==== Description ==== | ||
- | Return a new string where all occurrences or // | ||
- | |||
- | ==== Example ==== | ||
- | < | ||
- | a$ = "We all live in a yellow submarine, yellow submarine, yellow submarine." | ||
- | print Replace(a$," | ||
- | print Replace(a$, " | ||
- | will display | ||
- | < | ||
- | We all live in a blue submarine, blue submarine, blue submarine. | ||
- | Beatles all live in a yellow submarine, yellow submarine, yellow submarine. | ||
- | </ | ||
- | |||
- | ==== See Also ==== | ||
- | {{page> | ||
- | |||
- | ==== History ==== | ||
- | |0.9.6.55|New to Version| | ||