Beware the Slash
[@"/a/b/c/d.e/" lastPathComponent] → @"d.e"
os.path.basename("/a/b/c/d.e/") → ""
Comments
Stay up-to-date by subscribing to the Comments RSS Feed for this post.
Thursday, January 11, 2007 [Tweets]
[@"/a/b/c/d.e/" lastPathComponent] → @"d.e"
os.path.basename("/a/b/c/d.e/") → ""
Stay up-to-date by subscribing to the Comments RSS Feed for this post.