Re: stringByTrimmingCharactersInSet: Bug
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.