What's New at CFLib.org?
(Note: As CFLib is now publishing UDFs for ColdFusion MX, we have noted those UDFs that we are sure are made for ColdFusion MX. If you do not see (CFMX) after the UDF's description, you can assume the UDF was created for ColdFusion 5.)
- IsEmail
- Tests passed value to see if it is a valid e-mail address (supports subdomain nesting and new top-level domains).
- IsSSN
- Checks passed value to see if it is a properly formatted U.S. social security number.
- IsZip
- Tests passed value to see if it is a properly formatted U.S. zip code.
- IsZipCA
- Tests passed value to see if it is a properly formatted Canadian zip code.
- LastDayOfMonth
- Returns a date object representing the last day of the given month.
- CreatePIN
- Flexible PIN generator, supporting alphabetical, numeric, and alphanumeric types, upper, lower, and mixed cases, and validating presence of letters and numbers in alphanumeric PINs at least 2 characters long.
- FlashHtmlFormat
- Converts a string into "Flash" safe HTML.
- HMSFormat
- Formats a time difference in hours, minutes and seconds.
- HoyToHour
- Converts hour of the year to hour of the day.
- InitialTrueCourse
- Calculates the initial true course between two latitudes and longitudes.
- IsISBN
- Checks to to see if value is a valid ISBN.
- IsScheduledTask
- Returns true if the specified task name exists as a scheduled task in the CF Administrator. (CFMX)
- LatLonDist
- Calculates the distance between two latitudes and longitudes.
- LatLonForCourseAndDistance
- Calculates the latitude and longitude for a given latitude, longitude, true course and distance in nautical miles.
- ListWrap
- Wraps a list every n elements.
- ParseURLData
- An alternative way to retrieve data from a URL.
- TurkishDateFormat
- Display date in Turkish language and Turkish date format.
- UCaseAll
- Returns a string with all words capitalized with special non- English characters.
- WDDXFileRead
- Reads a file containing WDDX and returns the CF variable. (CFMX)
- WDDXFileWrite
- Write a flat file containing a WDDX packet of any CF variable. (CFMX)