Link to home
Start Free TrialLog in
Avatar of paddycobbett
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 =)
ASKER CERTIFIED SOLUTION
Avatar of Guy Hengel [angelIII / a3]
Guy Hengel [angelIII / a3]
Flag of Luxembourg image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of paddycobbett
paddycobbett

ASKER

thanks =)