• 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
Find and replace string
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Find and replace string


  • Subject: Find and replace string
  • From: Steve Foster <email@hidden>
  • Date: Tue, 1 Nov 2005 16:56:14 +0000

Hi

I am trying to work out a simple find and replace script.

I need it to replace a ^ with a carriage return.

I am a VBScript developer and would usually use something like:

____________________________________
strString = "Hello^Mum"

strString = Replace(strString, "^", vbcrlf)
____________________________________

Everything I can find on the list seems overly complicated for such a simple task (using RegExp and shell script).

Any ideas?

Thanks

steve


_______________________________________________ Do not post admin requests to the list. They will be ignored. Applescript-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Find and replace string
      • From: "Gary (Lists)" <email@hidden>
    • Re: Find and replace string
      • From: Michael Gmail <email@hidden>
  • Prev by Date: Re: Rsync reliability?
  • Next by Date: How to work with XML data using System Events?
  • Previous by thread: Re: Rsync reliability?
  • Next by thread: Re: Find and replace string
  • Index(es):
    • Date
    • Thread