When nesting functions in the PreserveSingleQuotes() function, CF 5 throws an error.
EXAMPLE: <cfset preservedInput = PreserveSingleQuotes(trim(form.inputfield))> This throws the following error: **************************************************************** Error Diagnostic Information Just in time compilation error Invalid parser construct found on line 27 at position 37. ColdFusion was looking at the following text: ( Invalid expression format. The usual cause is an error in the expression structure. **************************************************************** Is this a known bug? If I pull out the trim and throw it into a variable, it works. EXAMPLE <cfset trimmedInput = trim(form.inputfield)> <cfset preservedInput = PreserveSingleQuotes(trimmedInput)> Is this a known bug? Have any of you encountered this? Thanks! -- SCOTT VAN VLIET SENIOR ANALYST SBC SERVICES, INC Tel: 858.886.3878 Fax: 858.653.6763 Email: [EMAIL PROTECTED] ______________________________________________________________________ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists