@@ -397,10 +397,25 @@ * \param delimiter The delimiter for splitting * \return An autoreleased OFArray with the splitted string */ - (OFArray*)componentsSeparatedByString: (OFString*)delimiter; +/** + * \return The components of the path + */ +- (OFArray*)pathComponents; + +/** + * \return The last component of the path + */ +- (OFString*)lastPathComponent; + +/** + * \return The directory name of the path + */ +- (OFString*)stringByDeletingLastPathComponent; + /** * Returns the decimal value of the string as an intmax_t or throws an * OFInvalidEncoding exception if the string contains any non-number characters. * * \return An intmax_t with the value of the string