Whatever message this page gives is out now! Go check it out!

Display and formatting functions

Last update:
May 18, 2026
Function Description
AjaxLinkCauses an HTML href attribute to display link results in the current Ajax container.
AjaxOnLoadCauses the specified JavaScript function to run when the page loads.
BooleanFormatTakes a value and returns true or false depending on the value.
CanonicalizeDecodes the input string.
CJustifyCenters a string in a field length.
DateFormatFormats a date value using U.S. date formats.
DecimalFormatConverts a number to a decimal-formatted string.
DollarFormatFormats a string in U.S. format.
EncodeForCSSEncodes the input string for use in CSS.
EncodeForDNEncodes the given string for safe output in LDAP Distinguished Names.
EncodeForHTMLEncodes an input string for a safe HTML output to prevent Cross Site Scripting (XSS) attacks.
EncodeForHTMLAttributeEncodes the input string for use in HTML attribute, such as table width or image height.
EncodeForJavaScriptEncodes the input string for use in JavaScript.
EncodeForLDAPEncodes an input string for a safe output in LDAP queries.
EncodeForURLEncodes the input string for use in URLs.
EncodeForXMLEncodes a string for XML.
EncodeForXMLAttributeEncodes a string that can be used as an XML attribute.
EncodeForXPathReturns an encoded string for using with XPATH.
FormatBaseNConverts number to a string, in the base specified by radix.
GetLocaleGets the current geographic/language locale value.
GetLocaleDisplayNameGets a locale value and displays the name in a manner that is appropriate to a specific locale.
HTMLCodeFormatReplaces special characters in a string with their HTML-escaped equivalents and inserts <pre> and </pre> tags at the beginning and end of the string.
HTMLEditFormatDEPRECATED FUNCTION
LSIsDateDetermines whether a string is a valid representation of a date/time value in the current locale.
LSNumberFormatFormats a number in a locale-specific format.
LSParseCurrencyConverts a locale-specific currency string into a formatted number.
LSParseDateTimeConverts a string that is a valid date/time representation in the current locale into a date/time object.
LSParseEuroCurrencyFormats a locale-specific currency string as a number.
LSParseNumberConverts a string that is a valid numeric representation in the current locale into a formatted number.
LSTimeFormatFormats the time part of a date/time string into a string in a locale-specific format.
LJustifyLeft justifies characters in a string of a specified length.
LSCurrencyFormatFormats a number in a locale-specific currency format. For countries that use the euro, the result depends on the JVM.
LSDateFormatFormats the date part of a date/time value in a locale-specific format.
LSEuroCurrencyFormatFormats a number in a locale-specific currency format.
LSIsCurrencyDetermines whether a string is a valid representation of a currency amount in the current locale.
NumberFormatCreates a custom-formatted number value.
ParagraphFormatReplaces characters in a string.
RJustifyRight justifies characters in a string of a specified length.
StripCRDeletes return characters from a string.
TimeFormatFormats a time value using US English time formatting conventions.
YesNoFormatEvaluates a number or Boolean value.

Share this page

Was this page helpful?
We're glad. Tell us how this page helped.
We're sorry. Can you tell us what didn't work for you?
Thank you for your feedback. Your response will help improve this page.

On this page