Re: Changed definition of word? No dashes?
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