Simple text question
Simple text question
- Subject: Simple text question
- From: "Script2" <email@hidden>
- Date: Mon, 7 Jul 2008 13:03:18 -0400
- Importance: Normal
Set file1text to read file (hotfile0 from 1
Set gterm to every paragraph of file1text
Repeat with aword in gterm
Display dialog aword
Set wordcnt to number of words in aword
Repeat with x from 1 to wordcnt
Display dialog word x of aword
End repeat
End repeat
Sample text
6000[F]this is test (#1).
6001[F]this is test (#2).
Display dialog aword - displays - 6000[F]this is test (#1).
Word x of aword ignores the square bracket and the parenthesis. What am I
missing? I tried set newword to word x of aword as string - did not work.
6000
F
This
is
test
#
1
I want to test which word contains [F].
Thanks
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