Re: Rép: Name of file
Re: Rép: Name of file
- Subject: Re: Rép: Name of file
- From: "Mark J. Reed" <email@hidden>
- Date: Fri, 11 Jan 2008 12:34:45 -0500
Le 11 janv. 2008 à 17:15, demski a écrit :
> shouldn't there be
> set nn to text 1 thru -((length of xt) + 1) of nn --< +1 instead
> of 2 ??
>
>
> when I try it, there seems to be always the last letter missing...
You must be doing something different. Consider "foo.csv": xt is
"csv", so the length of xt is 3. 3 + 2 is 5. Text 1 through -5 of
"foo.csv" is "foo". Looks correct to me...
1 2 3 4 5 6 7
f o o . c s v
-7 -6 -5 -4 -3 -2 -1
--
Mark J. Reed <email@hidden>
_______________________________________________
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