• 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: Removing trailing spaces
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Removing trailing spaces


  • Subject: Re: Removing trailing spaces
  • From: webguide <email@hidden>
  • Date: Tue, 11 Jun 2002 15:22:52 +1000

G'day Paul

> repeat while theString ends with " "
> try
> set theString to text 1 thru -2 of theString
> on error -- if just " ", no text -2
> set theString to ""
> end try
> end repeat

thanks

cheers

kim
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Removing trailing spaces (From: Paul Berkowitz <email@hidden>)

  • Prev by Date: Re: Removing trailing spaces
  • Next by Date: URL Access (Re:...sort of)
  • Previous by thread: Re: Removing trailing spaces
  • Next by thread: Re: applescript and graphics programs
  • Index(es):
    • Date
    • Thread