Blog

Helpful Spelling Tip

Been a long time since I've posted, mostly since no one except spammers bother to come to the site, but I've finally had it and had to vent into the ether before my head explodes. For the love of all that's right and holy, the freaking word is 'lose', not 'loose'....

read more

Adventures in bad variable names

There are many built-in, always-there variable scopes in CF, including #cgi#, #form#, #url#, etc., and one does well to avoid using these names for anything other than their intended purpose. However, I was doing a CFHTTP call (in CF8) and set the result attribute to...

read more

T-SQL function to get a char count

I needed an efficient and reusable way to get character counts in strings at the database level and produced the following udf which takes a string and a character and returns the number of occurrences of the character in the string. [crayon-6623672f1f149596008637/]

read more