|
|
|
|
HTMLEditorReplace (Function) In french: EditeurHTMLRemplace Replaces one string with another in an HTML Editor control. Remark: By default, the search ignores the formatting of the string.
// Replace WINDEV with WEBDEV HTMLEditorReplace(HTMEDT_MyHTMLEditor, "WINDEV", "WEBDEV", htmlWholeWord + htmlCaseSensitive)
Syntax
HTMLEditorReplace(<HTML Editor control> , <Text to replace> , <Replacement text> [, <Options>])
<HTML Editor control>: Control name Name of the HTML Editor control used. <Text to replace>: Character string Text to find and replace in the HTML Editor control. <Replacement text>: Character string Character string that will replace <Text to replace>. If this parameter corresponds to an empty string (""), all the occurrences of <Text to replace> will be deleted <Options>: Optional constant (or combination of constants) Search options for the text to replace: | | htmlCaseSensitive | Performs a case and accent-sensitive search. | htmlWholeWord | Search for the whole word (enclosed in punctuation characters or in space characters). |
By default, the search is case-insensitive. Business / UI classification: UI Code Component: wd280obj java.dll
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|