Hi,

I can't seem to get rid of an extra backslash when I'm outputting from my <cfdirectory. Below is an example output and the code I'm using to try and get rid of the extra slash.

<cfset sr = #URLDecode(URLEncodedFormat(dir))#>

The above outputs the following:

\\MYSERVER\test\

I then do a replace...

<cfset sr = #REReplace("#sr#","\\MYSERVER","","ALL")#>

Now it outpus as:

\\test\

No matter what I try I can't get rid of that extra "\| at the beginning.

Any ideas?


[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to