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

Find a line break followed by a lower case character


  • Subject: Find a line break followed by a lower case character
  • From: Lists <email@hidden>
  • Date: Fri, 22 Nov 2013 15:21:26 -0800

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

  • Follow-Ups:
    • Re: Find a line break followed by a lower case character
      • From: John <email@hidden>
  • Prev by Date: Re: Paths from my Mac, hidden, compiled into my script?
  • Next by Date: Re: Find a line break followed by a lower case character
  • Previous by thread: Re: Paths from my Mac, hidden, compiled into my script?
  • Next by thread: Re: Find a line break followed by a lower case character
  • Index(es):
    • Date
    • Thread