Re: Appending an ellipsis to a NSString
Re: Appending an ellipsis to a NSString
- Subject: Re: Appending an ellipsis to a NSString
- From: Ondra Cada <email@hidden>
- Date: Fri, 23 Apr 2004 03:36:34 +0200
Glen,
On 23.4.2004, at 3:16, Glen Low wrote:
>
[string stringByAppendingString: @"\u2026"]
>
where 0x2026 is the Unicode for ellipsis, but the compiler doesn't
>
recognize the \u escape sequence.
I guess the best bet is something like
unichar ell=0x2026;
static NSString *ellipsis=[[NSString alloc] initWithCharacters:&ell
length:1];
...
[string stringByAppendingString:ellipsis];
---
Ondra Hada
OCSoftware: email@hidden
http://www.ocs.cz
private email@hidden
http://www.ocs.cz/oc
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
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.