Difference between revisions of "DecodeHtmlEntities"

From Catglobe Wiki
Jump to: navigation, search
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:String_Functions]]
+
{{HelpFiles}}

+
 
 +
==== 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ết đến rồi")); ''
 +
 
 +
''//Tết đến rồi ''
  
====decodeHtmlEntities====
+
''print(decodeHtmlEntities("a < b")); ''
  
Decodes an HTML-encoded string and returns the decoded string.
+
''//a < b ''
  
'''Syntax'''decodeHtmlEntities''(inputString)'''''Arguments'''''inputString'': is a string expression.'''Return type'''string'''Example'''print(decodeHtmlEntities("Tết đến rồi"));//Tết đến rồi
+
'''Availability'''  
  
print(decodeHtmlEntities("a < b");
+
Version 5.4
  
//a < b'''Availability'''Version 5.4
+
[[Category:String_Functions]]
__NOTOC__
 
<!-- imported from file: 4163.htm-->
 

Latest revision as of 12:35, 22 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