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...
Use length method, like this:
NSString *myString = @"Hello World"; int myLength = [myString length]; //myLength is now 11