Re: Finder's "exists" command ignores leading zero's in filename
Re: Finder's "exists" command ignores leading zero's in filename
- Subject: Re: Finder's "exists" command ignores leading zero's in filename
- From: Shane Stanley <email@hidden>
- Date: Fri, 23 May 2014 22:36:42 +1000
On 23 May 2014, at 7:45 pm, Nigel Garvey <email@hidden> wrote:
I seem to recall encountering this problem in Jaguar or Tiger, so it's been around for a while.
It only occurs in situations where the Finder compares names for _equality_
Yes, it's as if the comparison is done like this:
ignoring case considering numeric strings "Test_00001.txt" = "Test_01.txt" --> true end considering end ignoring
Which is not how the Finder normally compares names. so one of the fastest ways round it (when using the Finder)
Oxymoron? ;-) |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden