dirSep curDirSymbol baseName directory drive ext stripExt I would actually prefer getDir, getDrive and getExt if there was a corresponding getName (instead of baseName). -- Using Opera's revolutionary email client: http://www.opera.com/mail/