Difference between revisions of "EncodeHtmlEntities"
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
− | + | {{HelpFiles}} | |
− | + | ||
+ | ==== 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 | |
− | + | [[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 < b
Availability
Version 5.4