• 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: silly newbie question #42
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: silly newbie question #42


  • Subject: Re: silly newbie question #42
  • From: Emmanuel <email@hidden>
  • Date: Wed, 10 Apr 2002 19:54:44 +0200

At 5:47 PM +0200 10/4/02, Natalie Lambert wrote:

>set cityName as "St Louis"
>--find space, remove space
>set result as newCityName

on RemovedSpaces(theText) -- use only if there are less than 4000 spaces ...
set AppleScript's text item delimiters to " "
set theTextAsList to text items of theText
set AppleScript's text item delimiters to ""
return theTextAsList as text
end RemovedSpaces

-----------------------
RemovedSpaces("a la folie")
--> "alafolie"
-----------------------

Emmanuel
_______________________________________________
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: 
 >silly newbie question #42 (From: Natalie Lambert <email@hidden>)

  • Prev by Date: Re: Internet Shortcut _ Urgent
  • Next by Date: Monitoring application in background
  • Previous by thread: silly newbie question #42
  • Next by thread: Re: silly newbie question #42
  • Index(es):
    • Date
    • Thread