Can someone tell me why this happens... am I on crack, or is this a CFMX bug?
<cffunction name="test" returntype="string"> <cfreturn "return value"> </cffunction> <cfoutput>"#test()#"</cfoutput> <!--- " return value" ---> <cfset a = test()><br/> <cfoutput>"#a#"</cfoutput> <!--- "return value" ---> Why is there a leading space when I just output test(), but no leading space if I assign the result to a variable and output the variable? Additionally... <cfoutput>"#trim(test())#"</cfoutput> ...STILL produces a leading space. Thoughts? -d ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

