PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Replaces one string with another in an HTML Editor control.
Remark: By default, the search ignores the formatting of the string.
Example
// 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:
htmlWholeWordSearch for the whole word (enclosed in punctuation characters or in space characters).
htmlCaseSensitivePerforms a case and accent-sensitive search.

By default, the search is case-insensitive.
Business / UI classification: UI Code
Component: wd270obj java.dll
Minimum version required
  • Version 26
This page is also available for…
Comments
Click [Add] to post a comment