What's New at CFLib.org?
- FormToHidden
- Converts the Form structure to hidden form fields.
- QueryToVars
- Change a row in a query to variables in a scope.
- StructToHidden
- Converts a structure to hidden form fields.
- URLToHidden
- Converts the URL structure to hidden form fields.
- CapFirst
- Capitalizes the first letter in each word.
- IsCreditCard
- Returns TRUE if the string is a valid credit card number.
- QuickSort
- Implementation of Hoare's Quicksort algorithm for sorting arrays of arbitrary items.
- TranslateMacromediaResourceFeed
- Function to translate Macromedia's XML Resource Feed into ColdFusion variables
- Bin2Hex
- Converts binary data to hexadecimal format.
- DeDupe
- Removes duplicate entries from a list.
- DifferentDay
- Check if two dates refer to the same day.
- DifferentMonth
- Check if two dates refer to the same month.
- FindOccurrences
- Returns the number of times a pattern exists within a string.
- GMTDateFormat
- This function takes a date time object and an offset, and outputs a GMT date/time formatted string.
- HoursMinutes
- Formats a number of minutes into "XX hours XX minutes"
- IsABA
- Checks that a number is a valid ABA routing number.
- IsEmpty
- Check if a variable is set and has a value.
- isNumericList
- Checks if a list consists of numeric values only.
- ListDeleteDuplicates
- Case-sensitive function for removing duplicate entries in a list.
- ListDeleteDuplicatesNoCase
- Case-insensitive function for removing duplicate entries in a list.
- MolecularWeight
- Calculates the molecular weight (amu) of input string.
- NauticalMilesToKilometers
- Convert Nautical Miles to Kilometers.
- SymRound
- Symmetrically rounds any number to a specific decimal point, preventing a common "rounding bias" from skewing results.
- WeekStartDate
- Takes a week number and returns a date object of the first day of that week.
- XSDDateFormat
- Takes an Date/Time and makes it into XSD time format (for use in xml xsds)
- BusinessDaysAdd
- Works just like dateAdd(), except it only adds business days.
- ListAggregate
- Turn a list of numbers into a summation sequence.
- ListMid
- A Mid() function for lists. Returns n elements starting at the specified start position.
- MSSQLCreateUUID
- Creates UUIDs safe for use in MSSQL UNIQUEIDENTIFIER fields.
- QueryToStructOfStructures
- Converts a query object into a structure of structures accessible by its primary key.
- StructOfArraysToQuery
- Converts a structure of arrays to a CF Query.
- ListRandomElements
- Returns specified number of random list elements without repeats.
- IsInt
- Checks to see if a var is an integer.
- vCal
- Produces output used by the vCalendar standard for PIM's (such as Outlook).
- TranslateFutureMonth
- Handles commodity month translation tasks.
- ListMid
- A Mid() function for lists. Returns n elements starting at the specified start position.