Hi,
I am a little unclear as to what you are trying to accomplish. However, your
code as some general errors/issues. Your code contains the common issue of
pound sign overuse. Pound signs only need to be used if a var is quoted or
being output. For the most part you don't need to put pound signs inside
functions. I altered some of your code to illustrate this.
<cfset rawprofilename = left(URL.Profile,30)>
<cfoutput> #rawprofilename# </cfoutput>
<cfset space= find("@",rawprofilename,0)>
<cfoutput> Character found at #space# </cfoutput>
<cfset profilename = left(rawprofilename, space-1)>
<cfoutput> Profile to find is #profilename#. </cfoutput>
--Dave
blog.dkferguson.com
www.cfhour.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know
on the House of Fusion mailing lists
Archive:
http://www.houseoffusion.com/groups/cf-newbie/message.cfm/messageid:4910
Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15