I have a complete URL, say
http://www.mywebsite.com//Folder /Detals /Final Image /La Image Logo.jpg
Here in this NSString, I only want to fetch
You can use NSString *string=[[yourString componentsSeparatedByString:@"/"] lastObject]
NSString *string=[[yourString componentsSeparatedByString:@"/"] lastObject]