strlength function


/ Published in: Objective C
Save to your folder(s)



Copy this code and paste it in your HTML
  1. NSInteger strlength(NSString *str){
  2. NSRange r = [str rangeOfString:str];
  3. return r.length;
  4. }

Report this snippet


Comments


You need to login to view comments.