https://blog.stuart.shelton.me/archives/575
NSString truncate function for Objective C/iPhone SDK