Thursday, January 11, 2007

Beware the Slash

[@"/a/b/c/d.e/" lastPathComponent] → @"d.e"
os.path.basename("/a/b/c/d.e/") → ""

Comments RSS · Twitter

Leave a Comment