• 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: weird TID?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: weird TID?


  • Subject: Re: weird TID?
  • From: Emmanuel <email@hidden>
  • Date: Fri, 24 Oct 2003 00:27:50 +0200

At 11:03 PM +0100 23/10/03, Peter Beentje wrote:
>>set AppleScript's text item delimiters to ","
>>set tempMonth to (text item 2 of startDate) --> January 30
>>
>>set AppleScript's text item delimiters to {space}
>>set tempData1 to text item 2 of tempMonth --> should be 30 but I get January
>>set tempData to text item 1 of tempMonth --> January
>
>step 2 gets you " January 30" (note the space before the J)
>change step 1 to ...."delimiters to ", " (comma-space) and you're away.

Yes but still Robert's last line (text item 1) should return "", not "January".

Not the original question, but I recall that ""1/30" as date" is chancy programming. For instance here this returns today morning at 1:30.

Emmanuel
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: weird TID? (From: Peter Beentje <email@hidden>)

  • Prev by Date: Re: replace single occurrence
  • Next by Date: Re: Quark 5.01 scripting syntax
  • Previous by thread: Re: weird TID?
  • Next by thread: Re: weird TID?
  • Index(es):
    • Date
    • Thread