How do I remove part of a path?

Roger Eller roger.e.eller at sealedair.com
Sun Jul 31 22:58:45 EDT 2011


On Sun, Jul 31, 2011 at 10:36 PM, Pete wrote:

> replace "/public.html" with empty in <wherever the url is>.  That's
> assuming
> it's always the same string you want to get rid of.  Alternatively:
>
> set the itemdelimiter to "/"
> replace item 4 of <wherever your url is> with empty
>
> Pete
> Molly's Revenge <http://www.mollysrevenge.com>
>
>
The problem with replacing an item, is that the URL will be left with an
extra slash after .com//

˜Roger



More information about the use-livecode mailing list