Display And Formatting Functions

namedescription
ajaxLinkCauses an HTML href attribute to display link results in the current Ajax container. When the browser follows a link that is specified by this function, the HTTP response does not replace the current page; instead, it populates the containing cfdiv, cflayoutarea, cfpod, or cfwindow control.
ajaxOnLoadCauses the specified JavaScript function to run when the page loads.
cJustifyCenters a string in a field length.
decimalFormatConverts a number to a decimal-formatted string.
dollarFormatFormats a string in U.S. format. (For other currencies, use LSCurrencyFormat or LSEuroCurrencyFormat.
formatBaseNConverts number to a string, in the base specified by radix.
getLocaleGets the current ColdFusion geographic/language locale value.
getLocaleDisplayNameGets a locale value and displays the name in a manner that is appropriate to a specific locale. By default, gets the current locale in the current locale’s language.
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.
hTMLEditFormatReplaces special characters in a string with their HTML-escaped equivalents.
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.
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.
lSParseDateTimeConverts a string that is a valid date/time representation in the current locale into a date/time object.
lSTimeFormatFormats the time part of a date/time string into a string in a locale-specific format.
lTrimRemoves leading spaces from a string.
numberFormatCreates a custom-formatted number value. Supports the numeric formatting used in the U.S. For international number formatting, see LSNumberFormat.
paragraphFormatReplaces characters in a string:
parseDateTimeParses a date/time string according to the English (U.S.) locale conventions. (To format a date/time string for other locales, use the LSParseDateTime function.)
rJustifyRight justifies characters of a string.
stripCRDeletes return characters from a string.
timeFormatFormats a time value using U.S. English time formatting conventions.
yesNoFormatEvaluates a number or Boolean value.