Problems
How can I pad a variable with spaces or other characters?
If you need to pad a ColdFusion variable with spaces then you can use the build in rjustify() and lj...
How can I prevent empty query values from creating empty table cells?
If you place the contents of a ColdFusion query in an HTML table, any blank query value may show up ...
How can I validate a password to make sure it contains numbers and letters and is at least X characters long?
Regular expression combined with the <cfif> and reFind() function give you the flexibility to ...
How do I get the username or domain from an email address?
The obvious use of lists in ColdFusion is to work with a lists of data. However what's cool about li...
How do I remove HTML from a string?
There are many applications that allow visitors to enter content that will then get displayed on scr...
How do you highlight searched words in results?
This is a simple matter of finding the text you are looking for, and replacing this text with a high...
What's the most effective way to clean text pasted from Microsoft Word?
A common problem in forms arise when content is pasted from Microsoft Word. Characters sometimes bec...