Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

how to trim path in C#

String dir = Path.GetDirectoryName(fullyQualifiedName);
string root = Directory.GetParent(dir).FullName;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #trim #path
ADD COMMENT
Topic
Name
8+9 =