|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
Parsing a variable for conversion
There's probably some simple way to do this but I haven't figured it out yet. I have a text file that gets read in and displayed in an html page. Obviously (as mentioned in an earlier post) all of the returns and such get read as regular whitespace in HTML, so I want to go through and convert all carriage returns to a line break tag. However, Find and FindNoCase for "\n" don't work, is there another escape code I need to be searching for? Or even better, something built in to do this for me?
|
|
#2
|
|||
|
|||
|
Try chr(10) or chr(13) with no quotes in your Find.
|
|
#3
|
|||
|
|||
|
thanks, I actually got a couple other suggestions for that so I'll try it tomorrow. yay for meetings taking up the last hour and a half of your productive time...
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ColdFusion Development > Parsing a variable for conversion |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|