Replaces one set of strings in its content with another set of strings and writes out the result.
Tag Summary | |
---|---|
required |
<replaceString replace="value" with="value" /> |
full tag |
<replaceString replace="value" with="value" /> |
Required Attributes |
|
---|---|
replace | A comma-separated list of strings to be replaced. The backslash ("\") acts as an escape character for special characters |
with | A comma-separated list of replacement strings corresponding to the strings in the replace attribute. |
There are no optional attributes |
---|
Example | |
---|---|
<replaceString replace="aa,bb,comma" with="cc,dd,\," >aacommabb</replaceString> This replaceString tag will search its contents for the strings "aa", "bb" and "comma". Each of those occurances will be replaced by the strings "cc", "dd" and ",", respectively. The resulting string will be written out. |
© Copyright IBM Corporation 2000,
2006. All Rights Reserved.