• 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: stringByTrimmingCharactersInSet: Bug
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: stringByTrimmingCharactersInSet: Bug


  • Subject: Re: stringByTrimmingCharactersInSet: Bug
  • From: Theodore Petrosky <email@hidden>
  • Date: Thu, 3 Apr 2003 04:28:53 -0800 (PST)

I seem to remember that this was a known bug in
stringByTrimmingCharacterInSet. It was listed to be
fixed in the December 2002 release. What release are
you using?

Ted

--- Wesley Miaw <email@hidden> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Has anyone else encountered this bug with the
> NSString
> stringByTrimmingCharactersInSet:? If I attempt to
> trim
> whitespaceCharacterSet off of a string of one
> character (e.g. 'a'),
> prefixed by zero or more whitespace characters, and
> followed by no
> whitespace characters, then the empty string is
> returned instead of the
> one character. Appending whitespace to this string
> before calling
> stringByTrimmingCharactersInSet: fixes this problem.
> - --
> Wesley Miaw, Wesley Miaw Consulting
> http://www.wesman.net/
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.7 (Darwin)
>
>
iD8DBQE+i2d/Qv4agqRAk2kRAg12AJ0UbucHdM0IqYI+qsPHBn40LHRvvQCeOX/4
> SWm9ZitZuzSJZuxJofqa688=
> =39lb
> -----END PGP SIGNATURE-----
> _______________________________________________
> 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.
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com
_______________________________________________
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.

  • Follow-Ups:
    • Re: stringByTrimmingCharactersInSet: Bug
      • From: Wesley Miaw <email@hidden>
References: 
 >stringByTrimmingCharactersInSet: Bug (From: Wesley Miaw <email@hidden>)

  • Prev by Date: Re: stringByTrimmingCharactersInSet: Bug
  • Next by Date: Inspector-aware undo in Doc-based app
  • Previous by thread: Re: stringByTrimmingCharactersInSet: Bug
  • Next by thread: Re: stringByTrimmingCharactersInSet: Bug
  • Index(es):
    • Date
    • Thread