Difference between revisions of "HTML ENTITY DECODE()"

From Recital Documentation Wiki
Jump to: navigation, search
 
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{YLM to do}}
 
 
==Class==
 
 
 
 
 
==Purpose==
 
==Purpose==
 
+
Function to return a string from a character string or memo field where numeric html entities have been replaced with their display character equivalents
  
  
 
==Syntax==
 
==Syntax==
 
+
HTML_ENTITY_DECODE(<expC> | <memofield>)
  
  
 
==See Also==
 
==See Also==
 
+
[[ASC()]], [[AT()]], [[ATNEXT()]], [[CHR()]], [[CHRTRAN()]], [[DECODE()]], [[ENCODE()]], [[HTML_ENTITIES()]], [[INLIST()]], [[LEFT()]], [[OCCURS()]], [[RAT()]], [[RIGHT()]], [[STR()]], [[STR_REPLACE()]], [[STREXTRACT()]], [[STRTRAN()]], [[STUFF()]], [[SUBSTR()]]
  
  
 
==Description==
 
==Description==
 
+
The HTML_ENTITY_DECODE() function will search <expC> or <memofield> and return a string where numeric html entities have been replaced with their display character equivalents.
  
  
 
==Example==
 
==Example==
 
<code lang="recital">
 
<code lang="recital">
 
+
? html_entity_decode("&#123;")
 +
{
 
</code>
 
</code>
  
 
==Products==
 
==Products==
 
+
Recital Web, Recital Server, Recital
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 +
[[Category:String Data]]
 +
[[Category:String Data Functions]]

Latest revision as of 14:27, 1 July 2011

Purpose

Function to return a string from a character string or memo field where numeric html entities have been replaced with their display character equivalents


Syntax

HTML_ENTITY_DECODE(<expC> | <memofield>)


See Also

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


Description

The HTML_ENTITY_DECODE() function will search <expC> or <memofield> and return a string where numeric html entities have been replaced with their display character equivalents.


Example

? html_entity_decode("&#123;")
{

Products

Recital Web, Recital Server, Recital