• 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: stripping an extra character from a text item
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: stripping an extra character from a text item


  • Subject: Re: stripping an extra character from a text item
  • From: Mark Butcher <email@hidden>
  • Date: Tue, 18 Dec 2001 14:22:02 -0800

Robert

Try:

set extraSpace to "87.54 "
(word 1 of extraSpace) as real

--> 87.54

If I use number instead of real, I get an execution error:

--> Can't make "87.54" into a number.

I don't understand why.

MarkB


  • Prev by Date: In a pickle with simple resize script
  • Next by Date: Re: stripping an extra character from a text item
  • Previous by thread: Re: stripping an extra character from a text item
  • Next by thread: Re: stripping an extra character from a text item
  • Index(es):
    • Date
    • Thread