Re: silly newbie question #42
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.