• 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
Appending an ellipsis to a NSString
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Appending an ellipsis to a NSString


  • Subject: Appending an ellipsis to a NSString
  • From: Glen Low <email@hidden>
  • Date: Fri, 23 Apr 2004 09:16:06 +0800

Hi all,

What's the easiest way to append an ellipsis to the end of a NSString? (It should work with any encoding...)

I thought:

[string stringByAppendingString: @"\u2026"]

where 0x2026 is the Unicode for ellipsis, but the compiler doesn't recognize the \u escape sequence.


Cheers, Glen Low


---
pixelglow software | simply brilliant stuff
www.pixelglow.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: Appending an ellipsis to a NSString
      • From: Clark Cox <email@hidden>
    • Re: Appending an ellipsis to a NSString
      • From: Ondra Cada <email@hidden>
  • Prev by Date: Re: Loading/Unloading a Cocoa-using framework from a CFM application
  • Next by Date: Colorizing an image
  • Previous by thread: Re: controller example works in IB but not in app
  • Next by thread: Re: Appending an ellipsis to a NSString
  • Index(es):
    • Date
    • Thread