• 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: 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.


  • Follow-Ups:
    • Time manipulation
      • From: Robert Poland <email@hidden>
References: 
 >text manipulation (From: email@hidden)

  • Prev by Date: formatting and importing text to Quark
  • Next by Date: Re: text manipulation
  • Previous by thread: Re: text manipulation
  • Next by thread: Time manipulation
  • Index(es):
    • Date
    • Thread