• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Rép: Name of file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Rép: Name of file (From: KOENIG Yvan <email@hidden>)

  • Prev by Date: Rép: Name of file
  • Next by Date: Re: Rép: Name of file
  • Previous by thread: Rép: Name of file
  • Next by thread: Re: Rép: Name of file
  • Index(es):
    • Date
    • Thread