Display and formatting functions

Function Description
AjaxLink Causes an HTML href attribute to display link results in the current Ajax container.
AjaxOnLoad Causes the specified JavaScript function to run when the page loads.
BooleanFormat Takes a value and returns true or false depending on the value.
Canonicalize Decodes the input string. 
CJustify Centers a string in a field length.
DateFormat Formats a date value using U.S. date formats.
DecimalFormat Converts a number to a decimal-formatted string.
DollarFormat Formats a string in U.S. format.
EncodeForCSS Encodes the input string for use in CSS.
EncodeForDN Encodes the given string for safe output in LDAP Distinguished Names.
EncodeForHTML Encodes an input string for a safe HTML output to prevent Cross Site Scripting (XSS) attacks.
EncodeForHTMLAttribute Encodes the input string for use in HTML attribute, such as table width or image height.
EncodeForJavaScript Encodes the input string for use in JavaScript.
EncodeForLDAP Encodes an input string for a safe output in LDAP queries.
EncodeForURL Encodes the input string for use in URLs.
EncodeForXML Encodes a string for XML.
EncodeForXMLAttribute Encodes a string that can be used as an XML attribute.
EncodeForXPath Returns an encoded string for using with XPATH.
FormatBaseN Converts number to a string, in the base specified by radix.
GetLocale Gets the current geographic/language locale value.
GetLocaleDisplayName Gets a locale value and displays the name in a manner
that is appropriate to a specific locale. 
HTMLCodeFormat Replaces special characters in a string with their HTML-escaped equivalents and inserts <pre> and </pre> tags at the beginning and end of the string.
HTMLEditFormat DEPRECATED FUNCTION
LSIsDate Determines whether a string is a valid representation of a date/time value in the current locale.
LSNumberFormat Formats a number in a locale-specific format.
LSParseCurrency Converts a locale-specific currency string into a formatted number. 
LSParseDateTime Converts a string that is a valid date/time representation in the current locale into a date/time object.
LSParseEuroCurrency Formats a locale-specific currency string as a number.
LSParseNumber Converts a string that is a valid numeric representation in
the current locale into a formatted number.
LSTimeFormat Formats the time part of a date/time string into a string in a locale-specific format.
LJustify Left justifies characters in a string of a specified length.
LSCurrencyFormat Formats a number in a locale-specific currency format. For countries that use the euro, the result depends on the JVM.
LSDateFormat Formats the date part of a date/time value in a locale-specific format.
LSEuroCurrencyFormat Formats a number in a locale-specific currency format.
LSIsCurrency Determines whether a string is a valid representation of a currency amount in the current locale.
NumberFormat Creates a custom-formatted number value.
ParagraphFormat Replaces characters in a string.
RJustify Right justifies characters in a string of a specified length.
StripCR Deletes return characters from a string.
TimeFormat Formats a time value using US English time formatting conventions.
YesNoFormat Evaluates a number or Boolean value.

 Adobe

Get help faster and easier

New user?

Adobe MAX 2024

Adobe MAX
The Creativity Conference

Oct 14–16 Miami Beach and online

Adobe MAX

The Creativity Conference

Oct 14–16 Miami Beach and online

Adobe MAX 2024

Adobe MAX
The Creativity Conference

Oct 14–16 Miami Beach and online

Adobe MAX

The Creativity Conference

Oct 14–16 Miami Beach and online