• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: text manipulation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >text manipulation (From: email@hidden)

  • Prev by Date: Re: text manipulation
  • Next by Date: Re: Help with Graphic Converter
  • Previous by thread: Re: text manipulation
  • Next by thread: Re: text manipulation
  • Index(es):
    • Date
    • Thread