|
|
|
|
|
TextToHTML (Function) In french: TexteVersHTML Converts a text string into an HTML string (carriage returns are replaced by <BR>, accents are replaced by their HTML equivalent, ...).
SAI_HTML = TextToHTML("WINDEV est un outil formidable" + CR + ...
"Le développement devient un jeu d'enfant")
Syntax
<Result> = TextToHTML(<Text> [, <Charset used>])
<Result>: Character string Text in HTML format. Please note: <html> and </html> tags are not included in the result.. They must be added if the result must be displayed in an HTML control. <Text>: Character string Name of the text control or character string in text format. <Charset used>: Optional Integer constant Constant identifying the character set used to write the <Text>. The current character set of WINDEV or WEBDEV is used by default (charsetCurrent constant). For more details on these constants, see Correspondence between languages, sub-languages, character sets and nations. Remarks - To convert an RTF string to HTML, use RTFToHTML.
- To convert an RTF string to Text, use RTFToText.
Business / UI classification: Business Logic
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|