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...
What type is your string? If it's an NSString, you find the length like this:
int len = [myString length];
But it will be different if your string is not an NSString.