DemiLib
A collection of Demigiant's utility libraries for Unity (https://github.com/Demigiant/demilib)
|
String extensions More...
Static Public Member Functions | |
static string | FileOrDirectoryName (this string path) |
If the string is a directory, returns the directory name, if instead it's a file returns its name without extension. Works better than Path.GetDirectoryName, which kind of sucks imho More... | |
static string | Parent (this string dir) |
If the given string is a directory path, returns its parent with or without final slash depending on the original directory format More... | |
String extensions
|
static |
If the string is a directory, returns the directory name, if instead it's a file returns its name without extension. Works better than Path.GetDirectoryName, which kind of sucks imho
|
static |
If the given string is a directory path, returns its parent with or without final slash depending on the original directory format