Doh, now i see it's so simple!!
Thanks.
Alex Elger
Micronage Ltd
[EMAIL PROTECTED]


-----Original Message-----
From: Gregory Miley [mailto:[EMAIL PROTECTED]]
Sent: 31 July 2002 3:45 PM
To: ActiveServerPages
Subject: RE: Replace Function.



lcLocString = "\\server\folder\file.doc"
lcLocString = Replace(lcLocString, "\\", "file://")
lcLocString = Replace(lcLocString, "\", "/")


Is this what you're talking about?

Greg

-----Original Message-----
From: Alex Elger [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 31, 2002 10:36 AM
To: ActiveServerPages
Subject: Replace Function.


Does any one know how i can add a string (Specifically file:) to the start
of a " + chr(34) + Location + chr(34) + "

Ie if Location = \\server\folder\doc
then i have replace, replace \ for /...
so i need to add file: to the start.
so i get file://server/folder/doc
Thanks for any help in advance.
Alex Elger
Micronage Ltd
[EMAIL PROTECTED]


---
You are currently subscribed to activeserverpages as: [EMAIL PROTECTED]
To unsubscribe send a blank email to
%%email.unsub%%

---
You are currently subscribed to activeserverpages as:
[EMAIL PROTECTED]
To unsubscribe send a blank email to
%%email.unsub%%


---
You are currently subscribed to activeserverpages as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to