Re: text manipulation
Re: text manipulation
- Subject: Re: text manipulation
- From: cricket <email@hidden>
- Date: Tue, 5 Jun 2001 11:42:38 -0700
You could try something like this:
set timeString to "10:56 am"
set offsetOfM to offset of "m" in timeString
set newString to ((characters 1 thru (offsetOfM - 1) of timeString) &
".m.") as string
- cricket
On Tuesday, June 5, 2001, at 09:47 AM, 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.
----->
Software Entomologist/Mail for Mac OS X email@hidden
---------->
Perfection (in design) is achieved not when there is nothing more to
add, but rather when there is nothing more to take away.