ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Controls, pages and windows / HTML Editor functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Replaces one string with another in an HTML Editor control.
Note: By default, the search ignores string formatting.
Example
// Remplacer WINDEV par WEBDEV
HTMLEditorReplace(EDHTML_MonEditeurHTML, "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:
htmlCaseSensitivePerforms a case and accent-sensitive search.
htmlWholeWordWhole word search (enclosed in punctuation characters or spaces).

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

Last update: 03/27/2025

Send a report | Local help