i have a string strored in str variable i want to find string length which is available in str variable
i hav tried with strlen(str); its not working...
If your string is a C-String, then you can use strlen(str).
strlen(str)
If it is a NSString *str, then you can use NSUInteger length = [str length];
NSString *str
NSUInteger length = [str length];