• 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: NSString searching for zero
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSString searching for zero


  • Subject: Re: NSString searching for zero
  • From: Jonathan Jackel <email@hidden>
  • Date: Sun, 22 Sep 2002 21:23:35 -0400

You are correct and I was imprecise.

Jonathan

on 9/22/02 10:29 AM, Ondra Cada at email@hidden wrote:

>
> On Sunday, September 22, 2002, at 02:47 , Jonathan Jackel wrote:
>
>> Or, if spaces in text should be disregarded:
>>
>> If ([[text stringByTrimmingCharactersInSet:
>> [NSCharacterSet whitespaceCharacterSet]]
>> isEqualToString:@"0000"]);
>
> Correct me please if I am wrong, but I believe that trimming should *NOT*
> disregard spaces *in* text -- only those *around* it.
> ---
> Ondra Cada
> OCSoftware: email@hidden http://www.ocs.cz
> private email@hidden http://www.ocs.cz/oc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: NSString searching for zero (From: Ondra Cada <email@hidden>)

  • Prev by Date: Re: IsMovieDone
  • Next by Date: [Q] Programmatically resizing split views in NSSplitView
  • Previous by thread: Re: NSString searching for zero
  • Next by thread: Re: NSString searching for zero
  • Index(es):
    • Date
    • Thread