string ReplaceWithExpression (string input, string searchExpressionAsString, string replacement)
Replace all occurrences of 'searchExpressionAsString' in 'input' with 'replacement'.
Parameters:
input | The input. |
searchExpressionAsString | The search expression as string. |
replacement | The replacement. |
Returns:
String.
Replace runs of 3-4 "a"s with ". ".
<xsl:value-of select="wwstring:ReplaceWithExpression('The end of aa sentenceaaaaalways leaves me sad.', 'a{3-4}', '. ')" />
Last modified date: 10/14/2020