Difference between revisions of "DECODE()"

From Lianjapedia
Jump to: navigation, search
 
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
==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
 
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==
 
DECODE(<expC> | <memofield>)
 
DECODE(<expC> | <memofield>)
 
  
 
==See Also==
 
==See Also==
 
[[ASC()]], [[AT()]], [[ATNEXT()]], [[CHR()]], [[CHRTRAN()]], [[ENCODE()]], [[HTML_ENTITIES()]], [[INLIST()]], [[LEFT()]], [[OCCURS()]], [[RAT()]], [[RIGHT()]], [[STR()]], [[STR_REPLACE()]], [[STREXTRACT()]], [[STRTRAN()]], [[STUFF()]], [[SUBSTR()]]
 
[[ASC()]], [[AT()]], [[ATNEXT()]], [[CHR()]], [[CHRTRAN()]], [[ENCODE()]], [[HTML_ENTITIES()]], [[INLIST()]], [[LEFT()]], [[OCCURS()]], [[RAT()]], [[RIGHT()]], [[STR()]], [[STR_REPLACE()]], [[STREXTRACT()]], [[STRTRAN()]], [[STUFF()]], [[SUBSTR()]]
 
  
 
==Description==
 
==Description==
 
The DECODE() function will search <expC> or <memofield> and return a string where numeric html entities have been replaced with their display character equivalents.  
 
The 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==
Line 21: Line 17:
 
</code>
 
</code>
  
==Products==
 
Recital Web, Recital Server, Recital
 
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
[[Category:String Data]]
 
 
[[Category:String Data Functions]]
 
[[Category:String Data Functions]]
 +
[[Category:Lianja VFP Extensions]]
 +
[[Category:VFP Function Extensions]]

Latest revision as of 06:32, 4 February 2013

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

DECODE(<expC> | <memofield>)

See Also

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

Description

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

Example

? decode("&#123;")
{