Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Apple Mail, Why is "?" not equal to "?"



On Jun 29, 2007, at 11:02 AM, Joe wrote:
set y to character 1 of x --text 1 of x fails when class of x is string (?, I don't understand why?)


I believe it's because "text" expects a range--since strings embody a range of characters. That is,

set y to text 1 thru 1 of x

or

set y to character 1 of x

but not

set y to text 1 of x

_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/email@hidden
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
References: 
 >Apple Mail, Why is "?" not equal to "?" (From: Joe <email@hidden>)
 >Re: Apple Mail, Why is "?" not equal to "?" (From: Joe <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.