• 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: Replacing a character/word
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Replacing a character/word


  • Subject: Re: Replacing a character/word
  • From: "Marc S.A. Glasgow" <email@hidden>
  • Date: Tue, 17 Dec 2002 02:05:16 -0500

First and foremost, where you want to do this replacement? Do you want
it in a program you already use, like MS Word, AppleWorks or BBEdit? Or
do you want to do internally to a stand-alone applescript that doesn't
rely on any application? The answer changes depending on which answer
you select.

The fastest way I've found to do this with very long text files has been
to do it within BBEdit (or BBEdit Lite), which has exceptionally fast
search-and- replace capabilities (10,000 instances replaced out of
100,000 lines of text in under 90 seconds).

Best Wishes,
=-= Marc Glasgow

RevDave wrote:

-- ??? How do I replace a word or phrase? Like:

Set thisstuff to " this is a test"

-- ??? Replace (thisstuff , "test","CoolTest") ????

- I'm not sure exactly header write test - any help would be appreciated.

Thanks - RevDave
_______________________________________________
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.

  • Follow-Ups:
    • Re: Replacing a character/word
      • From: "Domains4Days.com" <email@hidden>
  • Prev by Date: Re: Energy Saver/OS 10.2.2
  • Next by Date: Re: Quark-experts, HELLLLPPP
  • Previous by thread: Replacing a character/word
  • Next by thread: Re: Replacing a character/word
  • Index(es):
    • Date
    • Thread