• 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: what the heck - text manipulation script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: what the heck - text manipulation script


  • Subject: Re: what the heck - text manipulation script
  • From: Natalie Lambert <email@hidden>
  • Date: Tue, 18 Jul 2006 09:40:52 -0700 (PDT)

It is supposed to be a tab between "05" and "@St.
Louis" but that isn't really the problem. Even if I do
this....

set AppleScript's text item delimiters to ""

set x to "OCT 05    @St. Louis" as text
set v to text item 2 of x
set y to word 4 of x
return {v, y}

my result is {"C", "St"}

why isn't the script seeing the @ and period as the
part of the word with "St"? Even if I change my
delimiters to a tab or a space the script ignores the
period and see the @ as seperate even though there are
no spaces between. I have told the script "as Text"....

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: what the heck - text manipulation script
      • From: "John C. Welch" <email@hidden>
    • Re: what the heck - text manipulation script
      • From: Michelle Steiner <email@hidden>
    • Re: what the heck - text manipulation script
      • From: Bill Briggs <email@hidden>
  • Prev by Date: Re: what the heck - text manipulation script
  • Next by Date: Subject: Wdth and depth of current screen resolution
  • Previous by thread: Re: what the heck - text manipulation script
  • Next by thread: Re: what the heck - text manipulation script
  • Index(es):
    • Date
    • Thread