Re: weird TID?
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.