• 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 trimming too much
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: stringByTrimmingCharactersInSet trimming too much


  • Subject: Re: stringByTrimmingCharactersInSet trimming too much
  • From: Ali Ozer <email@hidden>
  • Date: Thu, 5 Dec 2002 08:57:13 -0800

Before trimming, word
= " [1", and after trimming it's equal to "", which doesn't seem
right.... Any ideas.

Yes, a bug... See http://developer.apple.com/qa/qa2001/qa1202.html for description and a possible workaround. Another possible workaround is to pad your string with a character to be trimmed.
Ali
_______________________________________________
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: 
 >stringByTrimmingCharactersInSet trimming too much (From: Graeme Nattress <email@hidden>)

  • Prev by Date: stringByTrimmingCharactersInSet trimming too much
  • Next by Date: Re: stringByTrimmingCharactersInSet trimming too much
  • Previous by thread: stringByTrimmingCharactersInSet trimming too much
  • Next by thread: Re: stringByTrimmingCharactersInSet trimming too much
  • Index(es):
    • Date
    • Thread