I have a UILabel
that has static 3 lines. Also it's lineBreakMode
is NSLineBreakByTruncatingTail
.
So if there are the long text that contains over 3 lines, the label will show "..." in the tails.
How can I get the last character or index before "..."? For example:
"There are the long long
long long long long long
long long long words ..."
I want to know the "s" index.