Subroutine Name | Executable Example | Viewable Example |
---|---|---|
W3REPLACE |
E3REPLAC |
E3REPLAC |
- Description
Search the already written output page for a specific string and replace all occurrences with a new string. With the encoding parameter, the given data will be encoded before the replacement is done:
" " -> no encoding
"HTML" -> HTML encoding (e.g. < -> < )
"URL" -> URL encoding
"XML" -> XML encoding ( e.g. < -> < )
- Parameters
1 W3ENCODING (A) DYNAMIC BY VALUE /* i /m : encoding 1 W3OLD (A) DYNAMIC BY VALUE /* i /m : old string 1 W3NEW (A) DYNAMIC BY VALUE /* i /m : new string- How To Invoke
PERFORM W3REPLACE "$weather$" "fine, no clouds"