| name | description |
| abs | Absolute-value function. The absolute value of a number is the number without its sign. |
| aCos | Arccosine function. The arccosine is the angle whose cosine is number. |
| addSOAPRequestHeader | Adds a SOAP header to a web service request before making the request. |
| addSOAPResponseHeader | Adds a SOAP response header to a web service response. Call only from within a CFC web service function that is processing a request as a SOAP web service. |
| ajaxLink | Causes 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. |
| ajaxOnLoad | Causes the specified JavaScript function to run when the page loads. |
| applicationStop | Stops or resets the current application. The application is restarted on the next request to the application. |
| arrayAppend | Appends an array element to an array. |
| arrayAvg | Calculates the average of the values in an array. |
| arrayClear | Deletes the data in an array. |
| arrayContains | Searches an array for the presence of a specified object. The function searches simple objects such as strings and numbers or complex objects such as structures. String searches are case-sensitive. This function does not support searche for COM and CORBA objects. |
| arrayDelete | Deletes an element from an array. It does not support COM and CORBA objects. |
| arrayDeleteAt | Deletes an element from a specified position in an array. |
| arrayFind | This function performs a case-sensitive search on an array for a specified object. The function can search for simple objects such as strings or numbers and complex objects such as structures. It does not support COM and CORBA objects. |
| arrayFindNoCase | This function performs a case-insensitive search on an array for a specified object. The function can search for simple objects such as strings or numbers and complex objects such as structures. It does not support COM and CORBA objects. |
| arrayInsertAt | Inserts a value into an array. Array elements whose indexes are equal to or greater than the new position are incremented by one. The array length increases by one. |
| arrayIsDefined | Determines whether an array element is defined. |
| arrayIsEmpty | Determines whether an array is empty of data elements. |
| arrayLen | Determines the number of elements in an array. |
| arrayMax | Array maximum function. |
| arrayMin | Array minimum function. |
| arrayNew | Creates an array of 1–3 dimensions. Index array elements with square brackets: [ ]. |
| arrayPrepend | Inserts an array element at the beginning of an array. |
| arrayResize | Resets an array to a specified minimum number of elements. Resetting can improve performance, if used to size an array to its expected maximum. For more than 500 elements, use ArrayResize immediately after using the ArrayNew tag. |
| arraySet | In a one-dimensional array, sets the elements in a specified index range to a value. Useful for initializing an array after a call to ArrayNew. |
| arraySort | Sorts array elements numerically or alphanumerically. |
| arraySum | Array sum function. |
| arraySwap | Swaps array values of an array at specified positions. This function is more efficient than multiple cfset tags. |
| arrayToList | Converts a one-dimensional array to a list. |
| asc | Determines the value of a character. |
| aSin | Determines the arcsine of a number. The arcsine is the angle whose sine is number. |
| atn | Arctangent function. The arctangent is the angle whose tangent is number. |
| binaryDecode | Converts a string to a binary object. Used to convert binary data that has been encoded into string format back into binary data. |
| binaryEncode | Converts binary data to a string. |
| bitAnd | Performs a bitwise logical AND operation. |
| bitMaskClear | Performs a bitwise mask clear operation. |
| bitMaskRead | Performs a bitwise mask read operation. |
| bitMaskSet | Performs a bitwise mask set operation. |
| bitNot | Performs a bitwise logical NOT operation. |
| bitOr | Performs a bitwise logical OR operation. |
| bitSHLN | Performs a bitwise shift-left, no-rotation operation. |
| bitSHRN | Performs a bitwise shift-right, no-rotation operation. |
| bitXor | Performs a bitwise logical XOR operation. |
| cacheGet | Gets an object that is stored in the cache. |
| cacheGetAllIds | Gets the IDs of all objects stored in the cache. |
| cacheGetMetadata | Gets the metadata values for a cached object. |
| cacheGetProperties | Gets the cache properties for the object cache, the page cache, or both. The information is application-specific. |
| cachePut | Stores an object in the cache. |
| cacheRemove | Removes an object from the cache. |
| cacheSetProperties | Sets the cache properties for the object cache, the page cache, or both. If a cache does not yet exist, creates it. The cache and properties are application-specific. |
| ceiling | Determines the closest integer that is greater than a specified number. |
| charsetDecode | Converts a string to a binary representation. |
| charsetEncode | Uses the specified encoding to convert binary data to a string. |
| chr | Converts a numeric value to a UCS-2 character. |
| cJustify | Centers a string in a field length. |
| compare | Performs a case sensitive comparison of two strings. |
| compareNoCase | Performs a case-insensitive comparison of two strings. |
| cos | Calculates the cosine of an angle that is entered in radians. |
| createDate | Creates a date/time object. |
| createDateTime | Creates a date-time object. |
| createObject | Creates a ColdFusion object, of a specified type. |
| createODBCDate | Creates an ODBC date object. |
| createODBCDateTime | Creates an ODBC date-time object. |
| createODBCTime | Creates an ODBC time object. |
| createTime | Creates a time variable. |
| createTimeSpan | Creates a date/time object that defines a time period. You can add or subtract it from other date-time objects and use it with the cachedWithin attribute of cfquery. |
| createUUID | Creates a Universally Unique Identifier (UUID). A UUID is a 35-character string representation of a unique 128-bit integer. |
| dateAdd | Adds units of time to a date. |
| dateCompare | Performs a full date/time comparison of two dates. |
| dateConvert | Converts local time to Coordinated Universal Time (UTC), or UTC to local time. The function uses the daylight savings settings in the executing computer to compute daylight savings time, if necessary. |
| dateDiff | Determines the integer number of units by which date1 is less than date2. |
| dateFormat | Formats a date value using U.S. date formats. For international date support, use LSDateFormat. |
| datePart | Extracts a part from a date value. |
| day | Determines the day of the month, in a date. |
| dayOfWeek | Determines the day of the week, in a date. |
| dayOfWeekAsString | Determines the day of the week, in a date, as a string function. |
| dayOfYear | Determines the day of the year, in a date. |
| daysInMonth | Determines the number of days in a month. |
| daysInYear | Determines the number of days in a year. |
| dE | Escapes any double-quotation marks in the parameter and wraps the result in double-quotation marks. |
| decimalFormat | Converts a number to a decimal-formatted string. |
| decrementValue | Decrements the integer part of a number. |
| decrypt | Decrypts a string that is encrypted using a standard encryption technique, including strings encrypted by the Encrypt function. |
| decryptBinary | Decrypts encrypted binary data with the specified key, value, algorithm, salt, and iterations. |
| deleteClientVariable | Deletes a client variable. (To test for the existence of a variable, use IsDefined.) |
| deserializeJSON | Converts a JSON (JavaScript Object Notation) string data representation into CFML data, such as a CFML structure or array. |
| directoryCreate | Creates on-disk or in-memory directory. |
| directoryDelete | Deletes on-disk or in-memory directory. |
| directoryExists | Determines whether on-disk or in-memory directory exists. |
| directoryList | Lists the contents of on-disk or in-memory directory. Also lists the contents of the sub-directories if recurse is set to true. |
| directoryRename | Renames on-disk or in-memory directory. |
| dollarFormat | Formats a string in U.S. format. (For other currencies, use LSCurrencyFormat or LSEuroCurrencyFormat. |
| dotNetToCFType | Explicitly converts a value returned by a .NET method to the corresponding ColdFusion data type. |
| duplicate | Returns a clone, also known as a deep copy, of a variable. There is no reference to the original variable. |
| encrypt | Encrypts a string using a specific algorithm and encoding method. |
| encryptBinary | Encrypts binary data using a specific algorithm and encoding method. |
| entityDelete | Deletes the record from the database for the specified entity. Depending on the cascade attribute specified in the mapping, it deletes the associated objects also. |
| entityLoad | Loads and returns an array of entities for the specified entity name. You can also specify a filter criteria and sort order. All EntityLoad methods take the entity name as input. |
| entityLoadByExample | Loads and returns an array of objects that match the sampleentity.The filter criteria is constructed by ANDing all the non-null properties of the sampleentity. |
| entityLoadByPK | Loads and returns an array of objects for the specified primary key. Use this function to avoid specifying the boolean parameter that you must specify with the EntityLoad() function. |
| entityMerge | Attaches the specified entity to the current ORM session. It copies the state of the given object onto the persistent object with the same identifier and returns the persistent object. |
| entityNew | Creates a new instance of the persistent CFC with the entity name that you provide. |
| entityReload | Reloads data for an entity that is already loaded. This method refetches data from the database and repopulates the entity with the refreshed data. |
| entitySave | Saves or updates data of the entity and all related entities to the database. ColdFusion automatically tries to find if a new record should be inserted or an existing record be updated for the given entity. If you set forceinsert=true, then ColdFusion tries to insert the entity as a new record. |
| entitytoQuery | Converts the input entity object or the input array of entity objects to a query object. |
| evaluate | Evaluates one or more string expressions, dynamically, from left to right. (The results of an evaluation on the left can have meaning in an expression to the right.) Returns the result of evaluating the rightmost expression. |
| exp | Calculates the exponent whose base is e that represents number. The constant e equals 2.71828182845904, the base of the natural logarithm. This function is the inverse of Log, the natural logarithm of number. |
| expandPath | Creates an absolute, platform-appropriate path that is equivalent to the value of relative_path, appended to the base path. This function (despite its name) can accept an absolute or relative path in the relative_path parameter |
| fileClose | Closes an on-disk or in-memory file that is open. When you use the FileOpen function, ColdFusion returns a handle to a file object.When you close the file, the handle is still available; however, it lists the file as closed. |
| fileCopy | Copies the specified on-disk or in-memory source file to the specified destination file. |
| fileDelete | Deletes the specified on-disk or in-memory file on the server. |
| fileExists | Determines whether an on-disk or in-memory file exists. |
| fileIsEOF | Determines whether ColdFusion has reached the end of an on-disk or in-memory file while reading it. |
| fileMove | Moves an on-disk or in-memory file from one location to another on the server. |
| fileOpen | Opens an on-disk or in-memory file to read, write, or append. Use this function with the FileRead function to read large files. |
| fileRead | Reads an on-disk or in-memory text file or a file object created with the FileOpen function. You use this function either as an alternative to the cffile tag with the action="read" attribute. You can also use this function to improve performance when reading a large file, because FileRead does not read the entire file into memory. |
| fileReadBinary | Reads an on-disk or in-memory binary file (such as an executable or image file) on the server, into a binary object parameter that you can use in the page. To send it through a web protocol (such as HTTP or SMTP) or store it in a database, first convert it to Base64 by using the ToBase64 function. |
| fileReadLine | Reads a line from an on-disk or in-memory file. |
| fileSeek | Seeks the position for read or write operation of an on-disk or in-memory file on the server. |
| fileSetAccessMode | Sets the attributes of an on-disk file on UNIX or Linux. This function does not work with in-memory files. |
| fileSetAttribute | Sets the attributes of an on-disk file in Windows. This function does not work with in-memory files. |
| fileSetLastModified | Sets the date when an on-disk or in-memory file was most recently modified. |
| fileSkipBytes | Skips over the data before a read or write operation of an on-disk or in-memory file on the server. |
| fileWrite | If you specify a file path, writes the entire content to the specified on-disk or in-memory file. If you specify a file object, writes text or binary data to the file object. |
| find | Finds the first occurrence of a substring in a string, from a specified start position. The search is case sensitive. |
| findNoCase | Finds the first occurrence of a substring in a string, from a specified start position. If substring is not in string, returns zero. The search is case-insensitive. |
| findOneOf | Finds the first occurrence of any one of a set of characters in a string, from a specified start position. The search is case sensitive. |
| firstDayOfMonth | Determines the ordinal (day number, in the year) of the first day of the month in which a given date falls. |
| fix | Converts a real number to an integer. |
| formatBaseN | Converts number to a string, in the base specified by radix. |
| generateSecretKey | Gets a secure key value for use in the Encrypt function. |
| getAuthUser | Gets the name of an authenticated user. |
| getBaseTagData | Used within a custom tag. Finds calling (ancestor) tag by name and accesses its data. |
| getBaseTagList | Gets ancestor tag names, starting with the parent tag. |
| getBaseTemplatePath | Gets the absolute path of an application’s base page. |
| getClientVariablesList | Finds the client variables to which a page has write access. |
| getComponentMetaData | Gets metadata (such as the functions and implemented interfaces of a component) for a CFC or ColdFusion interface. |
| getContextRoot | Returns path to the J2EE server context root for the current request. |
| getCurrentTemplatePath | Gets the path of the page that calls this function. |
| getDirectoryFromPath | Extracts a directory from an absolute on-disk or in-memory path. |
| getEncoding | Returns the encoding (character set) of the Form or URL scope. |
| getException | Used with the cftry and cfcatch tags. Retrieves a Java exception object from a Java object. |
| getFileFromPath | Extracts a filename from an absolute on-disk or in-memory path. |
| getFileInfo | Retrieves information about on-disk or in-memory file. |
| getFunctionCalledName | Returns the name of the variable used to call a defined function. |
| getFunctionList | Displays a list of the functions that are available in ColdFusion. |
| getGatewayHelper | Gets a Java GatewayHelper object that provides methods and properties for use with a ColdFusion event gateway. |
| getHttpRequestData | Makes HTTP request headers and body available to CFML pages. Useful for capturing SOAP request data, which can be delivered in an HTTP header. |
| getHttpTimeString | Gets the current time, in the Universal Time code (UTC). |
| getK2ServerDocCount | This function is deprecated. |
| getK2ServerDocCountLimit | This function is deprecated. |
| getLocale | Gets the current ColdFusion geographic/language locale value. |
| getLocaleDisplayName | Gets 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. |
| getLocalHostIP | Returns the localhost IP address, which is 127.0.0.1 for IPv4 and ::1 for IPv6 addresses. |
| getMetaData | Gets metadata (such as the methods, properties, and parameters of a component) associated with an object that is deployed on the ColdFusion server. |
| getMetricData | Gets server performance metrics. |
| getPageContext | Gets the current ColdFusion PageContext object that provides access to page attributes and configuration, request, and response objects. |
| getPrinterInfo | Determines which print attributes are supported by a selected printer. |
| getProfileSections | Gets all the sections of an initialization file. |
| getProfileString | Gets an initialization file entry. |
| getReadableImageFormats | Returns a list of image formats that ColdFusion can read on the operating system where ColdFusion is deployed. |
| getSOAPRequest | Returns an XML object that contains the entire SOAP request. Usually called from within a web service CFC. |
| getSOAPRequestHeader | Obtains a SOAP request header. Call only from within a CFC web service function that is processing a request as a SOAP web service. |
| getSOAPResponse | Returns an XML object that contains the entire SOAP response after invoking a web service. |
| getSOAPResponseHeader | Returns a SOAP response header. Call this function from within code that is invoking a web service after making a web service request. |
| getTempDirectory | Gets the path of the directory that ColdFusion uses for temporary files. The directory depends on the account under which ColdFusion is running and other factors. Before using this function in an application, test to determine the directory it returns under your account. |
| getTempFile | Creates a temporary file in a directory whose name starts with (at most) the first three characters of prefix. |
| getTemplatePath | This function is deprecated. Use the GetBaseTemplatePath function instead. |
| getTickCount | Returns the current value of an internal millisecond timer. |
| getTimeZoneInfo | Gets local time zone information for the computer on which it is called, relative to Universal Time Coordinated (UTC). UTC is the mean solar time of the meridian of Greenwich, England, used as the basis for calculating standard time throughout the world. |
| getToken | Determines whether a token of the list in the delimiters parameter is present in a string. |
| getUserRoles | Retrieves the list of roles for the current user. This function returns only ColdFusion roles, not roles set for the servlet API. |
| getWriteableImageFormats | Returns a list of image formats that ColdFusion can write on the operating system where ColdFusion is deployed. |
| hash | Converts a variable-length string to a fixed-length string that can act as a “fingerprint” or unique identifier for the original string. It is not possible to convert the hash result back to the source string. |
| hour | Gets the current hour of the day. |
| 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 | Replaces special characters in a string with their HTML-escaped equivalents. |
| iIf | Evaluates a Boolean conditional dynamic expression. Depending on whether the expression is yes or no, dynamically evaluates one of two string expressions and returns the result. This function is convenient for incorporating a cfif tag in-line in HTML. |
| imageAddBorder | Adds a rectangular border around the outside edge of a ColdFusion image. |
| imageBlur | Smooths (blurs) the ColdFusion image. |
| imageClearRect | Clears the specified rectangle by filling it with the background color of the current drawing surface. |
| imageCopy | Copies a rectangular area of an image. |
| imageCrop | Crops a ColdFusion image to a specified rectangular area. |
| imageDrawArc | Draws a circular or elliptical arc. |
| imageDrawBeveledRect | Draws a rectangle with beveled edges. |
| imageDrawCubicCurve | Draws a cubic curve. |
| imageDrawLine | Draws a single line defined by two sets of x and y coordinates on a ColdFusion image. |
| imageDrawLines | Draws a sequence of connected lines defined by arrays of x and y coordinates. |
| imageDrawOval | Draws an oval. |
| imageDrawPoint | Draws a point at the specified (x,y) coordinate. |
| imageDrawQuadraticCurve | Draws a curved line. The curve is controlled by a single point. |
| imageDrawRect | Draws a rectangle. |
| imageDrawRoundRect | Draws a rectangle with rounded corners. |
| imageDrawText | Draws a text string on a ColdFusion image with the baseline of the first character positioned at (x,y) in the image. |
| imageFlip | Flips an image across an axis. |
| imageGetBlob | Retrieves the bytes of the underlying image. The bytes are in the same image format as the source image. |
| imageGetBufferedImage | Returns the java.awt.BufferedImage object underlying the current ColdFusion image. |
| imageGetEXIFTag | Retrieves the specified EXIF tag in an image. |
| imageGetHeight | Retrieves the height of the ColdFusion image in pixels. |
| imageGetIPTCTag | Retrieves the value of the IPTC tag for a ColdFusion image. |
| imageGetWidth | Retrieves the width of the specified ColdFusion image. |
| imageGrayscale | Converts a ColdFusion image to grayscale. |
| imageInfo | Returns a structure that contains information about the image, such as height, width, color model, size, and filename. |
| imageNegative | Inverts the pixel values of a ColdFusion image. |
| imageNew | Creates a ColdFusion image. |
| imageOverlay | Reads two source ColdFusion images and overlays the second source image on the first source image. |
| imagePaste | Takes two images and an (x,y) coordinate and draws the second image over the first image with the upper-left corner at coordinate (x,y). |
| imageRead | Reads the on-disk or in-memory source pathname or URL and creates a ColdFusion image. |
| imageReadBase64 | Creates a ColdFusion image from a Base64 string. |
| imageResize | Resizes a ColdFusion image. |
| imageRotate | Rotates a ColdFusion image at a specified point by a specified angle. |
| imageRotateDrawingAxis | Rotates all subsequent drawing on a ColdFusion image at a specified point by a specified angle. |
| imageScaleToFit | Creates a resized image with the aspect ratio maintained. |
| imageSetAntialiasing | Switches antialiasing on or off in rendered graphics. |
| imageSetBackgroundColor | Sets the background color for the ColdFusion image. The background color is used for clearing a region. Setting the background color only affects the subsequent ImageClearRect calls. |
| imageSetDrawingColor | Sets the current drawing color for ColdFusion images. All subsequent graphics operations use the specified color. |
| imageSetDrawingStroke | Sets the drawing stroke for points and lines in subsequent ColdFusion images. |
| imageSetDrawingTransparency | Specifies the degree of transparency of drawing functions. |
| imageSharpen | Sharpens a ColdFusion image by using the unsharp mask filter. |
| imageShear | Shears an image either horizontally or vertically. For each pixel (x, y) of the destination, the source value at the fractional subpixel position (x', y') is constructed with an Interpolation object and written to the destination. |
| imageShearDrawingAxis | Shears the drawing canvas. |
| imageTranslate | Copies an image to a new location on the plane. |
| imageTranslateDrawingAxis | Translates the origin of the image context to the point (x,y) in the current coordinate system. Modifies the image context so that its new origin corresponds to the point (x,y) in the image’s original coordinate system. |
| imageWrite | Writes a ColdFusion image to the specified on-disk or in-memory destination. |
| imageWriteBase64 | Writes Base64 images to the specified on-disk or in-memory destination. |
| imageXORDrawingMode | Sets the paint mode of the image to alternate between the image’s current color and the new specified color. |
| incrementValue | Adds one to an integer. |
| inputBaseN | Converts string, using the base specified by radix, to an integer. |
| insert | Inserts a substring in a string after a specified character position. If position=0, prefixes the substring to the string. |
| int | Calculates the closest integer that is smaller than number. For example, it returns 3 for Int(3.3) and for Int(3.7); it returns -4 for Int(-3.3) and for Int(-3.7) |
| isArray | Determines whether a value is an array. |
| isBinary | Determines whether a value is stored as binary data. |
| isBoolean | Determines whether a value can be converted to Boolean |
| isCustomFunction | Determines whether a name represents a custom function. |
| isDate | Determines whether a string or Java object can be converted to a date/time value. |
| isDDX | Determines whether a DDX file exists and is valid, or if a string contains valid DDX instructions. |
| isDebugMode | Determines whether debugging output is enabled. |
| isDefined | Evaluates a string value to determine whether the variable named in it exists. |
| isImage | Determines whether a variable returns a ColdFusion image. |
| isImageFile | Verifies whether an image file is valid. |
| isInstanceOf | Determines whether an object is an instance of a ColdFusion interface or component, or of a Java class. |
| isJSON | Evaluates whether a string is in valid JSON (JavaScript Object Notation) data interchange format. |
| isK2ServerABroker | This function is deprecated. |
| isK2ServerDocCountExceeded | This function is deprecated. |
| isK2ServerOnline | This function is deprecated because the K2Server is always running when ColdFusion is running. |
| isLeapYear | Determines whether a year is a leap year. |
| isLocalHost | Determines whether the specified IP address is the localhost. This supports both IPv4 and IPv6 addresses. |
| isNull | Used to check if the given object or expression evaluates to null. |
| isNumeric | Determines whether a string can be converted to a numeric value. Supports numbers in U.S. number format. For other number support, use LSIsNumeric. |
| isNumericDate | Evaluates whether a real number is a valid representation of a date (date/time object). |
| isObject | Determines whether a value is an object. |
| isPDFFile | Verifies whether a PDF file is valid. |
| isPDFObject | Determines whether a value is a PDF object. |
| isQuery | Determines whether value is a query. |
| isSimpleValue | Determines the type of a value. |
| isSOAPRequest | Determines whether a CFC is being called as a web service. |
| isStruct | Determines whether a variable is a structure. |
| isUserInAnyRole | Determines whether an authenticated user belongs to any role in a list of roles. |
| isUserInRole | Determines whether an authenticated user belongs to the specified Role. |
| isUserLoggedIn | Determines whether a user is logged in. |
| isValid | Tests whether a value meets a validation or data type rule. |
| isWDDX | Determines whether a value is a well-formed WDDX packet. |
| isXML | Determines whether a string is well-formed XML text. |
| isXmlAttribute | Determines whether the function parameter is an XML Document Object Model (DOM) attribute node. |
| isXmlDoc | Determines whether the function parameter is a ColdFusion XML document object. |
| isXmlElem | Determines whether the function parameter is an XML document object element. |
| isXmlNode | Determines whether the function parameter is an XML document object node. |
| isXmlRoot | Determines whether the function parameter is the root element of an XML document object. |
| javaCast | Converts the data type of a ColdFusion variable to a specified Java type to pass as an argument to Java or .NET object. Use only for scalar, string, and array arguments. |
| jSStringFormat | Escapes special JavaScript characters, such as single-quotation mark, double-quotation mark, and newline. |
| lCase | Converts the alphabetic characters in a string to lowercase. |
| left | Returns the leftmost count characters in a string. |
| len | Determines the length of a string or binary object. |
| listAppend | Concatenates a list or element to a list. |
| listChangeDelims | Changes a list delimiter. |
| listContains | Determines the index of the first list element that contains a specified substring. |
| listContainsNoCase | Determines the index of the first list element that contains a specified substring. |
| listDeleteAt | Deletes an element from a list. |
| listFind | Determines the index of the first list element in which a specified value occurs. Case sensitive. |
| listFindNoCase | Determines the index of the first list element in which a specified value occurs. |
| listFirst | Gets the first element of a list. |
| listGetAt | Gets a list element at a specified position. |
| listInsertAt | Inserts an element in a list. |
| listLast | Gets the last element of a list. |
| listLen | Determines the number of elements in a list. |
| listPrepend | Inserts an element at the beginning of a list. |
| listQualify | Inserts a string at the beginning and end of list elements. |
| listRest | Gets a list, without its first element. |
| listSetAt | Replaces the contents of a list element. |
| listSort | Sorts list elements according to a sort type and sort order. |
| listToArray | Copies the elements of a list to an array. |
| listValueCount | Counts instances of a specified value in a list. The search is case sensitive. |
| listValueCountNoCase | Counts instances of a specified value in a list. The search is case-insensitive. |
| lJustify | Left justifies characters in a string of a specified length. |
| location | A function equivalent of the cflocation tag and is used in the <cfscript> mode. |
| log | Calculates the natural logarithm of a number. Natural logarithms are based on the constant e (2.71828182845904). |
| log10 | Calculates the logarithm of number, to base 10. |
| 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. |
| lSIsDate | Determines whether a string is a valid representation of a date/time value in the current locale. |
| lSIsNumeric | Determines whether a string is a valid representation of a number in the current locale. |
| lSNumberFormat | Formats a number in a locale-specific format. |
| lSParseCurrency | Converts a locale-specific currency string into a formatted number. Attempts conversion by comparing the string with each the three supported currency formats (none, local, international) and using the first that matches. |
| 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. Attempts conversion through each of the default currency formats (none, local, international). Ensures correct handling of euro currency for Euro zone countries. |
| 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. |
| lTrim | Removes leading spaces from a string. |
| max | Determines the greater of two numbers. |
| mid | Extracts a substring from a string. |
| min | Determines the lesser of two numbers. |
| minute | Extracts the minute value from a date/time object. |
| month | Extracts the month value from a date/time object. |
| monthAsString | Determines the name of the month that corresponds to month_number. |
| now | Gets the current date and time of the computer running the ColdFusion server. The return value can be passed as a parameter to date functions such as DaysInYear or FirstDayOfMonth. |
| numberFormat | Creates a custom-formatted number value. Supports the numeric formatting used in the U.S. For international number formatting, see LSNumberFormat. |
| objectEquals | Identifies any conflict between CFC instances on the client and the server. |
| objectLoad | Loads a serialized ColdFusion array, CFC, DateTime object, Java object, query, or structure into memory as the corresponding object. |
| objectSave | Converts a ColdFusion array, CFC, DateTime object, Java object, query, or structure into a serializable binary object and optionally saves the object in a file. |
| oRMClearSession | ORMClearSession removes all the entities that are loaded or created in the session. This clears the first level cache and removes the objects that are not yet saved to the database. |
| oRMCloseSession | Closes the current ORM session. |
| oRMEvictCollection | This method is used to evict all the collection or association data for the given entity name and collection name, from the secondary cache. If the primary key is specified, then, the collection or association data of the entity with the primary key is evicted. |
| oRMEvictEntity | This method is used to evict items for the given entity name, from the secondary cache. If the primary key is specified, then the data of the entity with that primary key is evicted. Primary key should be a value in case of simple primary key or should be a struct in case of composite primary key. |
| oRMEvictQueries | This method is used to evict the data of all the queries from the default query cache. If cache name is specified, then, the data of all the queries belonging to the cache region with the given cache name are evicted. |
| oRMExecuteQuery | Executes an Hibernate Query Language (HQL) query. |
| oRMFlush | Flushes the current ORM session. ORMFlush flushes all the pending CRUD operations in that request. Any changes made in the objects, in the current ORM session, are saved to the database. |
| oRMGetSession | Returns the current ORM session (the underlying Hibernate session). Use this session object to call the APIs, which are otherwise not exposed by ColdFusion. |
| oRMGetSessionFactory | ORMGetSessionFactory returns the underlying Hibernate SessionFactory object. For information on Session API see: |
| oRMReload | Reinitializes ORM for the application. |
| paragraphFormat | Replaces characters in a string: |
| parseDateTime | Parses 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.) |
| pi | Gets the mathematical constant p, accurate to 15 digits. |
| precisionEvaluate | Evaluates one or more string expressions, dynamically, from left to right, using BigDecimal precision arithmetic to calculate the values of arbitrary precision arithmetic expressions. |
| preserveSingleQuotes | Prevents ColdFusion from automatically escaping single-quotation mark characters that are contained in a variable. ColdFusion does not evaluate the argument. |
| quarter | Calculates the quarter of the year in which a date falls. |
| queryAddColumn | Adds a column to a query and populates its rows with the contents of a one-dimensional array. Pads query columns, if necessary, to ensure that all columns have the same number of rows. |
| queryAddRow | Adds a specified number of empty rows to a query. |
| queryConvertForGrid | Converts query data to a structure that contains a paged subset of the query. Used in CFC functions that return data to Ajax format cfgrid controls in response to a bind expression. |
| queryNew | Creates an empty query (query object). |
| querySetCell | Sets a cell to a value. If no row number is specified, the cell on the last row is set. |
| quotedValueList | Gets the values of each record returned from an executed query. ColdFusion does not evaluate the arguments. |
| rand | Generates a pseudo-random number. |
| randomize | Seeds the pseudo-random number generator with an integer number, ensuring repeatable number patterns. |
| randRange | Generates a pseudo-random integer in the range between two specified numbers. |
| rEFind | Uses a regular expression (RE) to search a string for a pattern. The search is case sensitive. |
| rEFindNoCase | Uses a regular expression (RE) to search a string for a pattern, starting from a specified position. The search is case-insensitive. |
| releaseComObject | Releases a COM Object and frees up resources that it used. |
| rEMatch | Uses a regular expression (RE) to search a string for a pattern, starting from a specified position. The search is case sensitive. |
| rEMatchNoCase | Uses a regular expression (RE) to search a string for a pattern, starting from a specified position. The search is case-insensitive. |
| removeChars | Removes characters from a string. |
| repeatString | Creates a string that contains a specified number of repetitions of the specified string. |
| replace | Replaces occurrences of substring1 in a string with substring2, in a specified scope. The search is case sensitive. |
| replaceList | Replaces occurrences of the elements from a delimited list in a string with corresponding elements from another delimited list. The search is case sensitive. |
| replaceNoCase | Replaces occurrences of substring1 with substring2, in the specified scope. The search is case-insensitive. |
| rEReplace | Uses a regular expression (RE) to search a string for a string pattern and replace it with another. The search is case sensitive. |
| rEReplaceNoCase | Uses a regular expression to search a string for a string pattern and replace it with another. The search is case-insensitive. |
| reverse | Reverses the order of items, such as the characters in a string or the digits in a number. |
| right | Gets a specified number of characters from a string, beginning at the right. |
| rJustify | Right justifies characters of a string. |
| round | Rounds a number to the closest integer that is larger than the input parameter. |
| rTrim | Removes spaces from the end of a string. |
| second | Extracts the ordinal for the second from a date/time object. |
| sendGatewayMessage | Sends an outgoing message through a ColdFusion event gateway. |
| serializeJSON | Converts ColdFusion data into a JSON (JavaScript Object Notation) representation of the data. |
| setLocale | Sets the country/language locale for ColdFusion processing and the page returned to the client. The locale value determines the default format of date, time, number, and currency values, according to language and regional conventions. |
| setProfileString | Sets the value of a profile entry in an initialization file. |
| setVariable | Sets a variable in the name parameter to the value of the value parameter. |
| sgn | Determines the sign of a number. |
| sin | Calculates the sine of an angle that is entered in radians. |
| sleep | Causes the current thread to stop processing for a specified period of time. |
| spanExcluding | Gets characters from a string, from the beginning and stops when it encounters any of the characters in a specified set of characters. The search is case sensitive. |
| spanIncluding | Gets characters from a string, from the beginning and stops when it encounters any character that is not in a specified set of characters. The search is case sensitive. |
| sqr | Calculates the square root of a number. |
| stripCR | Deletes return characters from a string. |
| structAppend | Appends one structure to another. |
| structClear | Removes all data from a structure. |
| structCopy | Copies a structure. Copies top-level keys, values, and arrays in the structure by value; copies nested structures by reference. |
| structCount | Counts the keys in a structure. |
| structDelete | Removes an element from a structure. |
| structFind | Determines the value associated with a key in a structure. |
| structFindKey | Searches recursively through a substructure of nested arrays, structures, and other elements, for structures whose values match the search key in the value parameter. |
| structFindValue | Searches recursively through a substructure of nested arrays, structures, and other elements for structures with values that match the search key in the valueparameter. |
| structGet | Gets a structure(s) from a specified path. |
| structInsert | Inserts a key-value pair into a structure. |
| structIsEmpty | Determines whether a structure contains data. |
| structKeyArray | Finds the keys in a ColdFusion structure. |
| structKeyExists | Determines whether a specific key is present in a structure. |
| structKeyList | Extracts keys from a ColdFusion structure. |
| structNew | Creates a structure. |
| structSort | Returns a sorted array of the top level keys in a structure. Sorts using alphabetic or numeric sorting, and can sort based on the values of any structure element. |
| structUpdate | Updates a key with a value. |
| tan | Calculates the tangent of an angle that is entered in radians. |
| throw | A function equivalent of the cfthrow tag and is used in the <cfscript> mode. |
| timeFormat | Formats a time value using U.S. English time formatting conventions. |
| toBase64 | Calculates the Base64 representation of a string or binary object. The Base64 format uses printable characters, allowing binary data to be sent in forms and e-mail, and stored in a database or file. |
| toBinary | Calculates the binary representation of Base64-encoded data or of a PDF document. |
| toScript | Creates a JavaScript or ActionScript expression that assigns the value of a ColdFusion variable to a JavaScript or ActionScript variable. This function can convert ColdFusion strings, numbers, arrays, structures, and queries to JavaScript or ActionScript syntax that defines equivalent variables and values. |
| toString | Converts a value to a string. |
| trace | A function equivalent of the <cftrace> tag and is used in the <cfscript> mode. |
| transactionCommit | Commits the current active transaction. |
| transactionRollback | Rolls back the current active transaction to the specified savepoint. |
| transactionSetSavePoint | Creates and stores a new savepoint for the current transaction. You can add multiple savepoints by calling this function multiple times. |
| trim | Removes leading and trailing spaces and control characters from a string. |
| uCase | Converts the alphabetic characters in a string to uppercase. |
| uRLDecode | Decodes a URL-encoded string. |
| uRLEncodedFormat | Generates a URL-encoded string. For example, it replaces spaces with %20, and non-alphanumeric characters with equivalent hexadecimal escape sequences. Passes arbitrary strings within a URL (ColdFusion automatically decodes URL parameters that are passed to a page). |
| uRLSessionFormat | Depending on whether a client computer accepts cookies, this function does the following: |
| val | Converts numeric characters that occur at the beginning of a string to a number. |
| valueList | Inserts a delimiter between each value in an executed query. ColdFusion does not evaluate the arguments. |
| verifyClient | Requires remote invocations of the page or calls to functions on the page to include an encrypted security token. |
| week | From a date/time object, determines the week number within the year. |
| wrap | Wraps text so that each line has a specified maximum number of characters. |
| writedump | A function equivalent to the <cfdump> tag which can be used in <cfscript>. |
| writelog | A function equivalent of the cflog tag, which can be used in <cfscript>. |
| writeOutput | Appends text to the page-output stream. |
| xmlChildPos | Gets the position of a child element within an XML document object. |
| xmlElemNew | Creates an XML document object element. |
| xmlFormat | Escapes special XML characters in a string so that the string can be used as text in XML. |
| xmlGetNodeType | Determines the type of an XML document object node. |
| xmlNew | Creates an XML document object. |
| xmlParse | Converts XML text into an XML document object. |
| xmlSearch | Uses an XPath language expression to search an XML document object. |
| xmlTransform | Applies an Extensible Stylesheet Language Transformation (XSLT) to XML. The XML can be in string format or an XML document object. |
| xmlValidate | Uses a Document Type Definition (DTD) or XML Schema to validate an XML text document or an XML document object. |
| year | From a date/time object, gets the year value. |
| yesNoFormat | Evaluates a number or Boolean value. |