Tidying a string
Tidying a string
- Subject: Tidying a string
- From: pete boardman <email@hidden>
- Date: Thu, 28 Apr 2005 17:42:34 +0100
Given a text string such as " foo bar foo bar foo bar ",
where there are a variable number of spaces between each word, and 0 or
more spaces at both start and end, I'd like to strip all unnecessary
spaces and get "foo bar foo bar foo bar". I can't seem to get text
delimiters working to do this. Is there an easy and fast way?
Pete
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden