Thursday, June 28th, 2007 •
Related •
Filed Under
I've just updated parseUri. If you haven't seen the older version, parseUri is a function which splits any well-formed URI into its parts, all of which are optional. Its combination of accuracy, flexibility, and brevity is unrivaled. Highlights: Comprehensively splits URIs, including splitting the query string into key/value pairs. (Enhanced) Two parsing modes: loose and [...]
Read More
Saturday, June 9th, 2007 •
Related •
Filed Under
Update: The documentation below has been updated for the new Date Format 1.2. Get it now! Although JavaScript provides a bunch of methods for getting and setting parts of a date object, it lacks a simple way to format dates and times according to a user-specified mask. There are a few scripts out there which [...]
Read More
Wednesday, May 30th, 2007 •
Related •
Filed Under
Update: This version of XRegExp is outdated. See XRegExp.com for the latest, greatest version. I use regular expressions in JavaScript fairly frequently, and although the exec() method is badass and I love the ability to use a function to generate the replacement in the replace() method, JavaScript regexes lack some very significant features available in [...]
Read More
Wednesday, February 7th, 2007 •
Related •
Filed Under
Update: The following post is outdated. See parseUri 1.2 for the latest, greatest version. For fun, I spent the 10 minutes needed to convert my parseUri() ColdFusion UDF into a JavaScript function. For those who haven't already seen it, I'll repeat my explanation from the other post… parseUri() splits any well-formed URI into its parts [...]
Read More