Re: selective string-replace
Re: selective string-replace
- Subject: Re: selective string-replace
- From: Michael Grant <email@hidden>
- Date: Sat, 17 Aug 2002 11:52:43 -0500
>
> I somehow need to do a "search and replace" of the slashes with pipes, yet
>
> leave the http:// slashes intact. Is there a way I can do a stringreplace,
>
> yet somehow detect that if there's 2 slashes together, that they should be
>
> left untouched?
You could first replace double-slashes with some string that's unlikely to
occur naturally (say, "2slashes") before doing any of your other replacing,
then change your string back at the end. Not sure if that would be more or
less efficient than other suggestions that have already been offered.
Michael
====
German is my wife; Czech is my mistress
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.