skip to main content
Advanced Customizations, Overrides, and Extensions » ePublisher Platform XSLT Extensions » StringUtilities » string Replace (string input, string search, string replacement)
string Replace (string input, string search, string replacement)
 
Replace all occurrences of 'search' in 'input' with 'replacement'.
Parameters:
input
The input.
search
The search.
replacement
The replacement.
Returns:
Result String.
Replace all instances of <letter> with O.
<xsl:value-of select="wwstring:Replace('<letter>scar's <letter>nly <letter>strich <letter>iled an <letter>range <letter>wl t<letter>day.', '<letter>', 'o')" />
Was this helpful?
Last modified date: 10/14/2020