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

Reply via email to