What's New at CFLib.org?
- AccessLinkClean
- This turns a Microsoft Access hyperlink field into a standard URL.
- URLHash
- URL Security tool to prevent a user from changing any part of a URL.
- ByteConvert
- Pass in a value in bytes, and this function converts it to a human-readable format of bytes, KB, MB, or GB.
- URLCheckHash
- Used along with URLHash to verify the URL integrity.
- StateToAbbr
- Takes a full State name (i.e. California) and returns the two letter abbreviation (i.e. CA).
- CreateTimeStruct
- Converts a given number of days, hours, minutes, OR seconds to a struct of days, hours, minutes, AND seconds.
- ArraySort2D
- Sorts a two dimensional array by the specified column in the second dimension.
- MySQLDT2TS
- Converts a CF DateTime object into a MySQL timestamp.
- MySQLTS2DT
- Converts a MySQL timestamp to a CF DateTime object.
- DeDupe
- Removes duplicate entries from a list.
- GetAlphabetPosition
- Returns the numeric value of a letter's position in the alphabet, or returns the matching letter of a number in the alphabet.
- TranslateFuture
- Translates a Cryptic Futures symbol into a descriptive structure.
- TranslateFutureMonth
- Handles commodity month translation tasks.
- IsRUT
- Returns True if the specified value and verifying digit constitute a valid RUT (government company number used in Chile).
- XHTMLParagraphFormat
- Returns a XHTML compliant string wrapped with properly formatted paragraph tags.
- ZeroMinimum
- Returns zero if the value passed into ZeroMinimum() is less than zero.