Im having a image array which i retrieved from database, I want to retrieve the name of images in image array,i tried this ,its not working,
- (NSString *)convertToDisplayName
{
NSMutableString *displayName = [[name mutableCopy] autorelease];
[displayName replaceOccurrencesOfString:@".png" withString:@""
options:NSLiteralSearch range:NSMakeRange(0, displayName.length)];
[displayName replaceOccurrencesOfString:@"_" withString:@" "
options:NSLiteralSearch range:NSMakeRange(0, displayName.length)];
return displayName;
}
Please help me.Thanks in advance?
Even smaller,