On 10/31/07 4:38 PM, "Dave" <[EMAIL PROTECTED]> wrote:

> 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?

I would use one line to do this:
put " file://localhost/Users/Dave/Folder/Folder/filex.xxx" into urlLocal

put char offset("/Users/", urlLocal) to -1 of urlLocal into urlUsers


Jim Ault
Las Vegas


_______________________________________________
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