2013年6月28日 - Your Objective-C string already holds a measure of it's length, it just a matter of retrieving it: sentence = [sentence ...
stackoverflow.com