Travis Thanks for the help. It did not work like you said. set dat to current date as string set d to get item 1 of dat say d What this code produced was the first letter of the string or should I say list.
Louie [EMAIL PROTECTED] ----- Original Message ----- From: "Travis Siegel" <[EMAIL PROTECTED]> To: "Discussions on developing for Mac OS X by the blind" <[email protected]> Sent: Saturday, December 10, 2005 11:11 PM Subject: Re: Apple script > To get any part of a string (Apple calls them lists) you use the > "Item" keyword. > I.E. item 4 of D in your example would include the year. > Get Item 4 of D would result in D containing 2005. > Hope this helps. > On Dec 8, 2005, at 8:25 PM, louie wrote: > >> Hi all, >> I am trying to figure out how to parse a string. >> the string is created with the below line of code. >> set d to current date as string >> This produces the string >> Thursday, December 8, 2005 5:15:11 PM >> What I would like to do is get the month, name of day, day of month >> and year. >> Thanks for any help. >> Louie >> [EMAIL PROTECTED] >> _______________________________________________ >> Developer mailing list >> [email protected] >> http://macvisionaries.com/mailman/listinfo/ >> developer_macvisionaries.com >> > > > _______________________________________________ > Developer mailing list > [email protected] > http://macvisionaries.com/mailman/listinfo/developer_macvisionaries.com > _______________________________________________ Developer mailing list [email protected] http://macvisionaries.com/mailman/listinfo/developer_macvisionaries.com
