Re: text manipulation
Re: text manipulation
- Subject: Re: text manipulation
- From: Paul Berkowitz <email@hidden>
- Date: Tue, 05 Jun 2001 10:52:22 -0700
On 6/5/01 9:47 AM, "email@hidden" <email@hidden> wrote:
>
I have a time string as follows "10:56 am". I have been trying to figure out a
>
way to change "am" to "a.m." or to "a.m", with no luck : ). Anybody have a
>
clue? Thanks.
>
set timeString to "10:56 am"
set timeString to text 1 thru -2 of timeString & "." & character -1 of
timeString & "."
-- "10:56 a.m."
--
Paul Berkowitz