• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Direct character replacement in a string
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Direct character replacement in a string


  • Subject: Re: Direct character replacement in a string
  • From: Motoyuki Tanaka <email@hidden>
  • Date: Fri, 9 Feb 2001 22:15:44 +0900

At 00:48 +0100 02/07/2001, FlyMac wrote:
>"Th*s *s an ?xampl?"
>Where every "*" should be replaced by an "i" and every "?" by an "e" before
>doing something else in the script.

One more solution with Tanaka's osax 2.0.

MT Swap characters "Th*s *s an ?xampl?" search list {"*","?"} replace list {"i","e"}

--> "This is an example"


==============================================================
Motoyuki Tanaka Fukui Prefectural University
email@hidden Faculty of Economics
http://mtlab.ecn.fpu.ac.jp/


References: 
 >Direct character replacement in a string (From: FlyMac <email@hidden>)

  • Prev by Date: AppleScript crashes constantly
  • Next by Date: Newbie Question
  • Previous by thread: Re: Direct character replacement in a string
  • Next by thread: Scripting Eudora
  • Index(es):
    • Date
    • Thread