if "file://localhost/" will always be the part you want to get rid of, if your variable is called "tLoc", you can do this:

replace "file://localhost/" with empty in tLoc

---

If you need to create local folders to match your remote path, see:

http://revcoders.org/create-folder/#comment-31



On Oct 31, 2007, at 4:38 PM, Dave wrote:

Hi,

I have a URL of the form:

file://localhost/Users/Dave/Folder/Folder/filex.xxx

and I want to convert it to:

/Users/Dave/Folder/Folder/filex.xxx

Is there a function to do this, or do I just have to remove "file;// localhost" from the front of the string?

Thanks a lot
All the Best
Dave

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to