Advertisement

04.23.2008 at 05:35PM PDT, ID: 23348838
[x]
Attachment Details

Easy Replace illegal characters for Filenames

Asked by monosyth in Cold Fusion Markup Language

Tags: Coldfusion 8

This is so simple... I know there is a replace line of code that will fix my example...

I am saving a PDF with a variable name, and address. Lets say this is the example:

<cfset address = "10 1/2 S. Main St.">
<cfoutput>#address#.pdf</cfoutput>

My result would be "10 1/2 S. Main St..pdf"

when I want it "1012SMainSt.pdf"

I know there is a simple line... yet, google has not been my friend today... please help. I need this to find any other possible funky illegal characters too...Start Free Trial
 
Loading Advertisement...
 
[+][-]04.23.2008 at 05:40PM PDT, ID: 21426793

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.23.2008 at 05:41PM PDT, ID: 21426798

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.23.2008 at 05:43PM PDT, ID: 21426807

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.23.2008 at 05:52PM PDT, ID: 21426855

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.23.2008 at 05:53PM PDT, ID: 21426857

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Cold Fusion Markup Language
Tags: Coldfusion 8
Sign Up Now!
Solution Provided By: Plucka
Participating Experts: 3
Solution Grade: A
 
 
[+][-]04.23.2008 at 05:53PM PDT, ID: 21426859

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628