• 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: ObjC newbie - simple NSString question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ObjC newbie - simple NSString question


  • Subject: Re: ObjC newbie - simple NSString question
  • From: Byron Sinor <email@hidden>
  • Date: Mon, 13 Aug 2001 20:09:37 -0700 (PDT)

Not to sound like a complete idiot, but are the Omni
group's frameworks free or do you have to pay for
them?

-Byron




--- Aaron Tuller <email@hidden> wrote:
> check out OmniFoundation.framework from The Omni
> Group.
>
> It's got all kinds of good extensions to NSString
> like this. i
> believe it's stringByRemovingSurroundingWhitespace
> or something like
> that
>
> -aaron
>
> At 12:01 PM +1000 8/14/01, Mark Orchard wrote:
> >Hi all,
> >
> >I'm learning ObjC and in the process converting a
> Java/Cocoa app across to
> >ObjC. This may sound like a simple/dumb question
> but is there a way (i.e.
> >NSString API call) to trim leading and trailing
> whitespace from an NSString?
> >In Java it's myString.trim() and I believe there
> was something in CFString
> >(is this old NeXTStep?). I've searched AppKit.pdf,
> Foundation.pdf and Google
> >but nothing obvious.
> >I guess I could roll my own, and that wouldn't be
> too hard but you would
> >think you could count on this sort of convenience
> method in a modern String
> >API.
> >
> >Please tell me I'm missing something!
> >
> >Cheers,
> >
> >Mark
> >_______________________________________________
> >cocoa-dev mailing list
> >email@hidden
>
>http://www.lists.apple.com/mailman/listinfo/cocoa-dev
> _______________________________________________
> cocoa-dev mailing list
> email@hidden
>
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/


  • Follow-Ups:
    • Re: ObjC newbie - simple NSString question
      • From: Scott Anguish <email@hidden>
References: 
 >Re: ObjC newbie - simple NSString question (From: Aaron Tuller <email@hidden>)

  • Prev by Date: Re: ObjectAlloc -- not able to use with debugger launched app?
  • Next by Date: RE: ObjC newbie - simple NSString question
  • Previous by thread: Re: ObjC newbie - simple NSString question
  • Next by thread: Re: ObjC newbie - simple NSString question
  • Index(es):
    • Date
    • Thread