Difference between revisions of "DecodeHtmlEntities"

From Catglobe Wiki
Jump to: navigation, search
 
(3 intermediate revisions by 2 users not shown)
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.
 
  
'''Return type'''
+
decodeHtmlEntities''(inputString)''  
string
 
  
'''Example'''
+
'''Arguments'''  
print(decodeHtmlEntities("Tết đến rồi"));
 
  
//Tết đến rồi
+
''inputString'': is a string expression.
  
print(decodeHtmlEntities("a < b");
+
'''Return type'''
  
//a < b
+
string
  
 +
'''Example'''
  
'''Availability'''Version 5.4 __NOTOC__ 
+
''print(decodeHtmlEntities("Tết đến rồi")); ''
 +
 
 +
''//Tết đến rồi ''
 +
 
 +
''print(decodeHtmlEntities("a < b")); ''
 +
 
 +
''//a < b ''
 +
 
 +
'''Availability'''  
 +
 
 +
Version 5.4  
  
 
[[Category:String_Functions]]
 
[[Category:String_Functions]]

Latest revision as of 11: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ết đến rồi"));

//Tết đến rồi

print(decodeHtmlEntities("a < b"));

//a < b

Availability

Version 5.4