Difference between revisions of "DecodeHtmlEntities"

From Catglobe Wiki
Jump to: navigation, search
Line 1: Line 1:
 
{{HelpFiles}}  
 
{{HelpFiles}}  
  
==== decodeHtmlEntities ====
+
==== decodeHtmlEntities ====
  
 
Decodes an HTML-encoded string and returns the decoded string.  
 
Decodes an HTML-encoded string and returns the decoded string.  
  
'''Syntax'''
+
'''Syntax''' decodeHtmlEntities''(inputString)'' '''Arguments''' ''inputString'': is a string expression.  
decodeHtmlEntities''(inputString)''
 
'''Arguments'''
 
''inputString'': is a string expression.
 
  
'''Return type'''
+
'''Return type''' string  
string
 
  
'''Example'''
+
'''Example''' print(decodeHtmlEntities("Tết đến rồi"));  
print(decodeHtmlEntities("Tết đến rồi"));
 
  
 
//Tết đến rồi  
 
//Tết đến rồi  
Line 20: Line 15:
 
print(decodeHtmlEntities("a < b");  
 
print(decodeHtmlEntities("a < b");  
  
//a < b
+
//a < b  
  
 
+
<br> '''Availability'''
'''Availability'''Version 5.4 __NOTOC__
+
Version 5.4 __NOTOC__  
  
 
[[Category:String_Functions]]
 
[[Category:String_Functions]]

Revision as of 04:25, 14 December 2011



decodeHtmlEntities

Decodes an HTML-encoded string and returns the decoded string.

Syntax decodeHtmlEntities(inputString) Arguments inputString: is a string expression.

Return type string

Example print(decodeHtmlEntities("T&#7871;t &#273;&#7871;n r&#7891;i"));

//Tết đến rồi

print(decodeHtmlEntities("a &lt; b");

//a < b


Availability Version 5.4