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
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
Thursday, February 1st, 2007 •
Related •
Filed Under
Update: I've added a JavaScript implementation of the following UDF. See parseUri: Split URLs in JavaScript. Here's a UDF I wrote recently which allows me to show off my regex skillz. parseUri() splits any well-formed URI into its components (all are optional). The core code is already very brief, but I could replace everything within […]
Read More