NSString的相关操作

stringByDeletingLastPathComponent // 删除文件名中最后一个""及之后的内容

原文地址:https://www.cnblogs.com/iapp/p/3631716.html