Re: text manipulation
Re: text manipulation
- Subject: Re: text manipulation
- From: Jolly Roger <email@hidden>
- Date: Tue, 05 Jun 2001 12:58:10 -0500
On 6/5/2001 11: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.
Well, you could always do something like this:
-- begin script
set timeStr to time string of (current date) as text
set timeStr to ((characters 1 thru ((the length of timeStr) - 1) of timeStr)
& "." & (character -1 of timeStr) & ".") as text
-- end script
JR