Convert from URL to File Path String?

Dave dave at looktowindward.com
Wed Oct 31 19:38:59 EDT 2007


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




More information about the Use-livecode mailing list