What's New at CFLib.org?

 
Dec 01, 2001
ChineseZodiac
Returns the Chinese Zodiac animal corresponding to the given year of birth.
Magic8Ball
Pass this UDF a Yes/No question, and it will return a prediction.
GetHTMLTitle
Parses an HTML page and returns the title.
CSVFormat
CSVFormat accepts the name of an existing query and converts it to csv format.
FileRead
Reads a file.
GetMetaHeaders
Parses an HTML string and returns META tag information.
IsRightTriangle
Takes any three numbers, checks to see whether they create a right triangle.
ListLeft
A Left() function for lists. Returns the n leftmost elements from the specified list.
ListMid
A Mid() function for lists. Returns n elements starting at the specified start position.
ListRight
A Right() function for lists. Returns the n rightmost elements from the specified list.
ListPad
Applies padding to each element in a list.
RESplit
Splits a string into arrays based on a regex.
REGet
Returns all the matches of a regex from a string.
ListToStruct
Converts a delimited list of key/value pairs to a structure.
ArrayOfStructsSort
Sorts an array of structures based on a key in the structures.
ListFix
Fixes a list by replacing null entries.
ReplaceListNoCase
Replace all occurences of elements in list one with elements in list two. Case insensitive version of ReplaceList.
QueryRowToStruct
Makes a row of a query into a structure.
GetSpanDate
Adds a timespan to a date. GetSpanDate(dateObj, days, hours, minutes, seconds) Pass in a date object, with the span difference of days, hours, minutes, and seconds and returns a timestamp of the end of the span.
Jumble
Takes a string and scrambles the characters.
StructToQueryString
Converts a structure to a URL query string.
FilterMask
Applies a filter mask to a string.
MakePassword
Generates an 8-character random password free of annoying similar-looking characters such as 1 or l.
GeneratePassword
Generates a password the length you specify.
GetNumbers
Returns the passed string with all non-numbers removed (letters, punctuation, whitespace, etc.).
FormStripHTML
Strips HTML from all form fields.
StripHTML
Removes HTML from the string.
IsExtValid
Checks for a valid file extension.
FormatPhone
Translates a 7 or 10 digit number into a US formatted telephone number.
FullLeft
An enhanced version of left() that doesn't cut words off in the middle.
GetHostAddress
Performs a reverse DNS lookup.
HTTPGet
UDF equivelant of CFHTTP
GetHostName
Performs a DNS lookup on an IP address.
IsMulticastAddress
Checks to see if a specifid address (IP address or host name) is a multicast address (Class D).
FolderDateLastModified
Returns the date/time a folder (directory) was last modified. (Windows only)

Privacy | FAQ | Site Map | About | Guidelines | Contact | Advertising | What is ColdFusion?
House of Fusion | ColdFusion Jobs | Blog of Fusion | AHP Hosting