|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
||||
|
||||
|
Including < or > in strings
Hello All,
Ok, i have string from a DB that i want CF to output into a table cell without using an object. The string can include the < or > signs which, of course, mess with the tags when displayed. Is there any way to convert these to their special character equivalents without having to do a character by character check? Thanks |
|
#2
|
|||
|
|||
|
You could just use replace to replace them with ASCII codes. You can also look into functions like htmlCodeFormat().
__________________
Ask if you have a question, but also help answer questions that you have knowledge of! Thanks, Brian. How to Post a Question in the Forums Last edited by kiteless : September 9th, 2004 at 02:16 PM. |
|
#3
|
||||
|
||||
|
The htmleditFormat function did the trick! thanks!
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ColdFusion Development > Including < or > in strings |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|