• 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: Shane Stanley <email@hidden>
  • Date: Fri, 09 Feb 2001 10:29:10 +1100

On 9/2/01 10:11 AM +1000, Jolly Roger, email@hidden, wrote:

> 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...

Yes, but it's not something new to 9.1. I just tried it on a Mac running
system 7.6.1, and got exactly the same result.

The fact that he once got the leading hyphen included makes me think an
application must have been involved.

--
Shane Stanley, email@hidden


References: 
 >Re: Changed definition of word? No dashes? (From: Jolly Roger <email@hidden>)

  • Prev by Date: Re: Changed definition of word? No dashes?
  • Next by Date: Mac OS 9: URL Access 2.1 and Third-Party Scripting Additions Issue
  • Previous by thread: Re: Changed definition of word? No dashes?
  • Next by thread: Re: Changed definition of word? No dashes?
  • Index(es):
    • Date
    • Thread