Home |All Classes |Grouped Classes |Index |Search

Function remove_trailing_slash

Remove trailing slash or backslash from path.

	static CL_String CL_PathHelp::remove_trailing_slash(
		const CL_String & path,
		PathType  path_type = path_type_file);

Detailed description:

This function checks if a path has a trailing slash/backslash and removes it if needed. param: path = The path to use param: path_type = The path type (of path)