• 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
NSMutableString, NSString ,character for character
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSMutableString, NSString ,character for character


  • Subject: NSMutableString, NSString ,character for character
  • From: Michel Haver <email@hidden>
  • Date: Fri, 13 Jul 2001 03:23:41 +0200

Question:

If you try to do something hard like writing your first cocoa application,
some simple C stuff becomes mind boggling in cocoa, so here is my question:

NSString * drawString;

drawString = @"test";

How do I get the characters t e s t in this NSString? Can it be converted to
a NSArray?

Can you write out a NSString or NSMutableString character be character? Is
there by something like characterAtIndex functionality, or must it be coded
by a character loop?

Cheers,

Michel


  • Follow-Ups:
    • Re: NSMutableString, NSString ,character for character
      • From: Markus Hitter <email@hidden>
    • Re: NSMutableString, NSString ,character for character
      • From: Ali Ozer <email@hidden>
  • Prev by Date: Re: alloc, dealloc, retain, release, autorelease etc.
  • Next by Date: Re: cocoa-dev digest, Vol 1 #277 - 14 msgs
  • Previous by thread: Re: alloc, dealloc, retain, release, autorelease etc.
  • Next by thread: Re: NSMutableString, NSString ,character for character
  • Index(es):
    • Date
    • Thread