• 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: Changed definition of word? No dashes?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Changed definition of word? No dashes?


  • Subject: Re: Changed definition of word? No dashes?
  • From: Jolly Roger <email@hidden>
  • Date: Thu, 08 Feb 2001 17:11:03 -0600
  • Replyto: email@hidden

on 2/8/2001 4:50 PM, Shane Stanley (email@hidden) wrote:

> I'm on 9.0.4, and the leading hyphen is not returned as part of a word (but
> hyphenated words are returned as a single word). Indeed, I've been running
> scripts for a long time, with several versions, that depend on this fact.
>
> But it is possible for applications to use a different definition of word --
> have you been using it inside a "tell application..." construct?

I'm running 9.1 and this:

word -1 of "bla bla -435,00 "

(outside of any tell block) does indeed return:

"435,00 "

just as Harald reports...

JR


  • Follow-Ups:
    • Re: Changed definition of word? No dashes?
      • From: Shane Stanley <email@hidden>
References: 
 >Re: Changed definition of word? No dashes? (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: Why doesn't this work?
  • Next by Date: Re: Program Linking via IP (Was: Why doesn't this work?)
  • Previous by thread: Re: Changed definition of word? No dashes?
  • Next by thread: Re: Changed definition of word? No dashes?
  • Index(es):
    • Date
    • Thread