Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

DecodeHtmlEntities: Difference between revisions

From Catglobe Wiki
Cg_pham (talk | contribs)
No edit summary
Cg van (talk | contribs)
No edit summary
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
Decodes an HTML-encoded string and returns the decoded string.  
Decodes an HTML-encoded string and returns the decoded string.  


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


'''Return type''' string
decodeHtmlEntities''(inputString)''  


'''Example''' print(decodeHtmlEntities("Tết đến rồi"));
'''Arguments'''  


//Tết đến rồi
''inputString'': is a string expression.


print(decodeHtmlEntities("a < b");
'''Return type'''


//a < b
string


<br> '''Availability'''  
'''Example'''  


Version 5.4
''print(decodeHtmlEntities("T&amp;#7871;t &amp;#273;&amp;#7871;n r&amp;#7891;i")); ''
 
''//Tết đến rồi ''
 
''print(decodeHtmlEntities("a &amp;lt; b")); ''
 
''//a &lt; b ''
 
'''Availability'''
 
Version 5.4  


[[Category:String_Functions]]
[[Category:String_Functions]]

Latest revision as of 10: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