EasyCFM.COM ColdFusion Forums / PHP to CFML / Helene

   Reply to Discussion | New Discussion << previous || next >> 
Posted By Discussion Topic: Helene

book mark this topic Printer-friendly Version  send this discussion to a friend  new posts last

lutra
11-22-2004 @ 7:15 PM
Reply
Edit
Profile
Send P.M.
My Gravatar!
Powered by Gravatar
Junior Member
Posts: 55
Joined: Aug 2003

Hi all,
I'm trying to make this
http://helene.muze.nl/ working on CF even if it supports (for now) the syntax highlighting only for php. Need an help trying to convert the following:

    $file = str_replace("\r", "", $file);
    $file = str_replace("\n", "\\n", $file);
    $file = str_replace('"', '\"', $file);
    $file = str_replace("\t", "\\t", $file);

CookieMan
05-23-2005 @ 10:49 PM
Reply
Edit
Profile
Send P.M.
My Gravatar!
Powered by Gravatar
New Member
Posts: 23
Joined: May 2004

you want to use the Replace() function

heres the link to the CF7 livedoc on it:
http://livedocs.macromedia.com/coldfusion/7/htmldocs/00000611.htm#135527


Website Designed and Developed by Pablo Varando.