Difference between revisions of "HTML TOPLAINTEXT()"

From Lianjapedia
Jump to: navigation, search
(Created page with "''Under Construction''. ''Coming soon in Lianja v3.1'' Category:HTML Functions")
 
Line 1: Line 1:
''Under Construction''. 
+
==Purpose==
 +
Function to return a string from a character string or memo field where html markup has been removed
  
''Coming soon in Lianja v3.1''
+
==Syntax==
 +
HTML_TOPLAINTEXT(<expC> | <memofield> [, <expL>])
  
 +
==See Also==
 +
[[ASC()]], [[AT()]], [[ATNEXT()]], [[CHR()]], [[CHRTRAN()]], [[DECODE()]], [[ENCODE()]], [[HTML_ENTITIES()]], [[HTML_ENTITY_DECODE()]], [[INLIST()]], [[LEFT()]], [[OCCURS()]], [[RAT()]], [[RIGHT()]], [[STR()]], [[STR_REPLACE()]], [[STREXTRACT()]], [[STRTRAN()]], [[STUFF()]], [[SUBSTR()]]
 +
 +
==Description==
 +
The HTML_TOPLAINTEXT() function will search <expC> or <memofield> and return a plain text string where html markup has been removed. If the optional <expL> is .T. (true), newlines are retained.
 +
 +
==Example==
 +
<code lang="recital">
 +
open database southwind
 +
use employees
 +
? html_toplaintext(notes,.T.)
 +
</code>
 +
 +
[[Category:Documentation]]
 +
[[Category:Functions]]
 +
[[Category:String Data Functions]]
 
[[Category:HTML Functions]]
 
[[Category:HTML Functions]]
 +
[[Category:Lianja v3.1]]

Revision as of 03:59, 28 September 2016

Purpose

Function to return a string from a character string or memo field where html markup has been removed

Syntax

HTML_TOPLAINTEXT(<expC> | <memofield> [, <expL>])

See Also

ASC(), AT(), ATNEXT(), CHR(), CHRTRAN(), DECODE(), ENCODE(), HTML_ENTITIES(), HTML_ENTITY_DECODE(), INLIST(), LEFT(), OCCURS(), RAT(), RIGHT(), STR(), STR_REPLACE(), STREXTRACT(), STRTRAN(), STUFF(), SUBSTR()

Description

The HTML_TOPLAINTEXT() function will search <expC> or <memofield> and return a plain text string where html markup has been removed. If the optional <expL> is .T. (true), newlines are retained.

Example

open database southwind
use employees
? html_toplaintext(notes,.T.)