Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to truncate NSStrings?



Like the finder in list view, right? (granted, I do not know the method, but I am betting those are CFStrings)

Ack, at 7/24/02, Simon Fraser said:

I'm quite familiar with [NSString substringWithRange]. That's not
what I'm asking. I want some truncation methods that:

i) can truncate based on measure string width, rather than number
of characters.

ii) are international-friendly (e.g. won't truncate in the middle
of a required ligature, and will insert an appropriate ellipsis).

--


Sincerely,
Rosyna Keller
Technical Support/Holy Knight/Always needs a hug

Unsanity: Unsane Tools for Insanely Great People
---

Please include any previous correspondence in replies, it helps me remember what we were talking about. Thanks.
_______________________________________________
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: 
 >Re: How to truncate NSStrings? (From: Andrew Pinski <email@hidden>)
 >Re: How to truncate NSStrings? (From: email@hidden (Simon Fraser))



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.