Category: File

NSString get file name, Ext

NSLog(@”m_path: %@”,m_path); NSString* fname = [[m_path lastPathComponent] stringByDeletingPathExtension]; NSLog(@”fname: %@”,fname); NSString* fname2 = [m_path lastPathComponent] ; NSLog(@”fname2: %@”,fname2); [/phph] reslut…