Re: Tidying a string
Re: Tidying a string
- Subject: Re: Tidying a string
- From: Martin Orpen <email@hidden>
- Date: Thu, 28 Apr 2005 19:06:45 +0100
on 28/4/05 18:42, Martin Orpen at email@hidden wrote:
> set t to " foo bar foo bar foo bar "
> do shell script "echo " & t & " | tr ' ' ' '"
Doh!
Just realised that tr isn't actually doing anything...
*This* is vanilla shell:
set t to " foo bar foo bar foo bar "
set s to do shell script "echo " & t
-->"foo bar foo bar foo bar"
--
Martin Orpen
_______________________________________________
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