|
|
Replaces strings in the contained data.
Syntax
| Smartsite SXML |
|
|---|---|
<se:replace>
<se:parameters>
<se:parameter name="searchfor">
</se:parameter>
</se:parameters>
</se:replace>
|
|
Parameters
| Name | Data Type | Properties | Description |
|---|---|---|---|
| BoyerMoore | Boolean | - | Sets a value indicating whether use the Boyer Moore search algorithm. |
| CaseInsensitive | Boolean | - | Sets a value indicating whether do case insensitive replacements. |
| Inner | String |
Trim
Default |
Sets the inner Xml of the Container module. |
| Options | Enum | - |
Sets the replacement options.
Enum values:
|
| ReplaceWith | String | - | Sets the string to use as replacement. |
| SearchFor | String |
IsRequired
|
Sets the string to search for. |
| UseRegExp | Boolean | - | Sets a value indicating whether to use regular expressions. |
Shared Parameters
Local Viper Methods
| Viper | Extension | Description |
|---|---|---|
| This.ClearForcedResult |
Sets the result of the macro. used to override the normal handling of the result creation. |
|
| This.GetForcedResult | Gets the forced result of the macro, set by overriding the normal rendering using SetForcedResult(). | |
| This.RenderTime | ✓ | Returns the render time of the macro in milliseconds. |
| This.SetForcedResult |
Sets the result of the macro. used to override the normal handling of the result creation. |