I have a String that I want to trim, if it has more than 11 characters.
If this is the case, it should be trimmed to 11 characters and a ‘…’ should be appended!
What would u suggest is the best practice for that?
I came accross stringByPaddingToLength But maybe theres a better way!
Thx in advance!
I have a String that I want to trim, if it has more than
Share
What about