• 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: Harald E Brandt <email@hidden>
  • Date: Fri, 9 Feb 2001 22:23:25 +0100

+--> Jolly Roger wrote 01-02-08:
>One thing you might want to look into doing as a work-around is use
>AppleScript's text item delimiters to parse text items:
>
>set saveDelims to AppleScript's text item delimiters
>set AppleScript's text item delimiters to {" "}
>log item 5 of (text items of "bla bla -435,00 ")
>set AppleScript's text item delimiters to saveDelims
>
>-- "-435,00"
>
>Obviously that's not a very good solution - depends on how desperate you
>are, I guess.
+-

Thanks a lot for the hint!
It seems like something along this is what I will have to do.
More elegant, however, would be the ability so set delimiters for words.
The problem with the proposal above is that I must know exactly the number of spaces (which can vary). I would like to set a delimeter of white space.

I *really* need to get the hyphen, since it is a script capturing account info from my internet bank, and I then use those "words" to add upp my account holding, so you can imagine the chock I got when all of a sudden, no negative values were subtracted, resulting in my account showing severe negative net holding!


______heb________________________________________________________________
Harald E Brandt email@hidden PGP/MIME aware http://heb.surf.to


  • Follow-Ups:
    • Re: Changed definition of word? No dashes?
      • From: Chris Nebel <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: Re: Attachable vs. Embeddable
  • Previous by thread: Re: Changed definition of word? No dashes?
  • Next by thread: Re: Changed definition of word? No dashes?
  • Index(es):
    • Date
    • Thread