• 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
Simple text - one more problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Simple text - one more problem


  • Subject: Simple text - one more problem
  • From: "Script2" <email@hidden>
  • Date: Wed, 9 Jul 2008 12:38:27 -0400
  • Importance: Normal

 

Why does this script ignore \ within the text body?

 

 

set a to "gibberish6000[F]this is test (#1).

 

6001[F]this is test (#2).

 

6002[F]This is /new| test (#3)." (the slash before new is ignored, the pipe after new comes in fine. I came across this as I am testing the script with various different files.)

 

set offst to offset of "[" in a

if offst is greater than 5 then

      set a to text offst-4 through end of a

end if

 

write a & return to outfile

 

Ruby

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Simple text - one more problem
      • From: Michelle Steiner <email@hidden>
References: 
 >Re: Find script files (From: Laine Lee <email@hidden>)

  • Prev by Date: Re: Find script files
  • Next by Date: Re: Find script files
  • Previous by thread: Re: Find script files
  • Next by thread: Re: Simple text - one more problem
  • Index(es):
    • Date
    • Thread