• 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
attributedStringByTrimmingCharactersInSet: method?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

attributedStringByTrimmingCharactersInSet: method?


  • Subject: attributedStringByTrimmingCharactersInSet: method?
  • From: Keith Blount <email@hidden>
  • Date: Sun, 23 Jul 2006 03:44:45 -0700 (PDT)

Hi,

I want to trim the whitespace from either end of an
attributed string. I had assumed that there would be
an attributed variant of NSString's
-stringByTrimmingCharactersInSet: method, which would
make this job very easy, but there doesn't seem to be
one. Do I need to go and write my own method to do
this, or am I missing something really obvious?

Many thanks in advance,
Keith

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: attributedStringByTrimmingCharactersInSet: method?
      • From: "Adam R. Maxwell" <email@hidden>
  • Prev by Date: Re: Editing the HUD window text edit question
  • Next by Date: Design patterns
  • Previous by thread: defaultTabInterval and "TabWidth"
  • Next by thread: Re: attributedStringByTrimmingCharactersInSet: method?
  • Index(es):
    • Date
    • Thread