RE: Simple text question
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