Difference between revisions of "EncodeHtmlEntities"

From Catglobe Wiki
Jump to: navigation, search
 
Line 5: Line 5:
 
Encodes a string to be displayed in a browser.  
 
Encodes a string to be displayed in a browser.  
  
'''Syntax'''
+
'''Syntax'''  
encodeHtmlEntities''(inputString)''
 
'''Arguments'''''inputString'': is a string expression.
 
  
'''Return type'''
+
encodeHtmlEntities''(inputString)''  
string
 
  
'''Example'''
+
'''Arguments'''
print(encodeHtmlEntities("a < b"));//a < b
 
  
'''Availability'''
+
''inputString'': is a string expression.
Version 5.4
+
 
 +
'''Return type'''
 +
 
 +
string
 +
 
 +
'''Example'''
 +
 
 +
''print(encodeHtmlEntities("a < b"));''
 +
 
 +
''//a < b ''
 +
 
 +
'''Availability'''  
 +
 
 +
Version 5.4  
  
 
[[Category:String_Functions]]
 
[[Category:String_Functions]]

Latest revision as of 11:36, 22 December 2011



encodeHtmlEntities

Encodes a string to be displayed in a browser.

Syntax

encodeHtmlEntities(inputString)

Arguments

inputString: is a string expression.

Return type

string

Example

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

//a &lt; b

Availability

Version 5.4