• 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: Find a line break followed by a lower case character
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Find a line break followed by a lower case character


  • Subject: Re: Find a line break followed by a lower case character
  • From: John <email@hidden>
  • Date: Fri, 22 Nov 2013 18:26:28 -0500

You can try something like this:

set x to {"a", "A", "B", "B"}


considering case

"b" is in x

end considering



On Fri, Nov 22, 2013 at 6:21 PM, Lists <email@hidden> wrote:
I need to reformat a several hundred page text file that has inappropriate line breaks somewhat randomly inserted every few hundred characters.

It occurred to me that something like this might work:

set x to {"a", "b", "c", "d" etc.}

then see if the character following a line break was in the list, but unfortunately:

set x to {"a", "A", "B", "B"}
"b" is in x
--true

It is not case sensitive.

Anyone done something similar? I'm in Pages 4.3.

J

 _______________________________________________
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

 _______________________________________________
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: Find a line break followed by a lower case character
      • From: Lists <email@hidden>
References: 
 >Find a line break followed by a lower case character (From: Lists <email@hidden>)

  • Prev by Date: Find a line break followed by a lower case character
  • Next by Date: Re: Find a line break followed by a lower case character
  • Previous by thread: Find a line break followed by a lower case character
  • Next by thread: Re: Find a line break followed by a lower case character
  • Index(es):
    • Date
    • Thread