• 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
representing TABs in NSString.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

representing TABs in NSString.


  • Subject: representing TABs in NSString.
  • From: Jake <email@hidden>
  • Date: Sun, 2 Dec 2001 01:59:03 -0500 (EST)

How does one delete tab from a mutable character set? I tried

wanttab = [[NSCharacterSet whitespaceCharacterSet] mutableCopy];
[wanttab removeCharactersInString:@"\t"];

While @"\t" and @"\x09" works for

- NSString componentsSeparatedByString:

they fails for

- NSMutableCharacterSet removeCharactersInString:

each time it is recognized as '\' and 't' instead of a tab.

jake


  • Follow-Ups:
    • Re: representing TABs in NSString.
      • From: Max Horn <email@hidden>
  • Prev by Date: Re: NSDrawer Constants documented incorrectly
  • Next by Date: awakeFromNib called twice !
  • Previous by thread: Re: Newbie
  • Next by thread: Re: representing TABs in NSString.
  • Index(es):
    • Date
    • Thread