• 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: Simple text question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Simple text question


  • Subject: RE: Simple text question
  • From: "Script2" <email@hidden>
  • Date: Mon, 7 Jul 2008 14:08:04 -0400
  • Importance: Normal

Any Suggestions as to how I can write word 3 thru 6 of aword to a file
without loosing special characters.

Ruby

-----Original Message-----
From: applescript-users-bounces+script2=email@hidden
[mailto:applescript-users-bounces+script2=email@hidden]
On Behalf Of Michelle Steiner
Sent: Monday, July 07, 2008 1:48 PM
To: Applescript Users
Subject: Re: Simple text question

On Jul 7, 2008, at 10:38 AM, Script2 wrote:

> Thanks Michelle
>
> This works.
>
> But when I try
>
> Set wordcnt to number of words in aword
> Set newword to word cnt thru wordcnt of aword - it ignore the "[]"
> and "()"
>
> Cnt is a counter - which word contains "[F]"

That's because, as I said, non alphanumerics are not words, nor part
of words.

-- Michelle

--
"My country, right or wrong: if right, to be kept right; and if wrong,
to be set right."
Senator Carl Schurz of Missouri, 1899

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
tern.com
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: Simple text question
      • From: Eric C Saunders <email@hidden>
References: 
 >Re: Simple text question (From: Michelle Steiner <email@hidden>)

  • Prev by Date: Re: Simple text question
  • Next by Date: Re: Simple text question
  • Previous by thread: Re: Simple text question
  • Next by thread: RE: Simple text question
  • Index(es):
    • Date
    • Thread