/cf_helpers

Snippets of useful ColdFusion code

Primary LanguageColdFusion

cf_helpers

Snippets of useful ColdFusion code

  • mergeArrays.cfm - Takes an array of structs and aggregates values with same keys to form an array of aggregate values.
  • fixYouTubeEmbed.cfm - Formats YouTube embed code into an iframe format of embed. Takes old embed or bloated embed code as an argument.
  • generateRandomPassword.cfm - Generates random alphanumeric password. Takes password length as an argument.
  • stripHTML.cfm - Simple RegExp function to strip HTML.