paddycobbett
asked on
Specifying quotation as literal in Coldfusion
Hi,
how do i specify the literal " (quotation marks) in coldfusion within a variable?
Essentially i want to assign the value: <cfset id="-1"> to a variable
i.e:
<cfset prefix = "<cfset id = "-1" >">
Obviously the above is illegal, so how do i do this legally? It may seem bizarre what i'm doing but i'm essentially storing coldfusion code in a variable to then write it to file.
Many thanks =)
how do i specify the literal " (quotation marks) in coldfusion within a variable?
Essentially i want to assign the value: <cfset id="-1"> to a variable
i.e:
<cfset prefix = "<cfset id = "-1" >">
Obviously the above is illegal, so how do i do this legally? It may seem bizarre what i'm doing but i'm essentially storing coldfusion code in a variable to then write it to file.
Many thanks =)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER