GroupLab Widget Tap Library

Path.Grammar.ExtractComponent Method 

Returns a copy of a substring of a path containing just one path component.

protected static string ExtractComponent(
   string s,
   int startIndex,
   int startIndexOfNextComponent,
   char escapingChar,
   char delimiterChar
);

Parameters

s
A string.
startIndex
Index of the first character in the component to extract.
startIndexOfNextComponent
Index of the first character in the component immediately following the one to extract.
escapingChar
Character used to escape special cahracters in the string.
delimiterChar
Character used to delimit path components.

Return Value

A substring containing a single path component.

See Also

Path.Grammar Class | GroupLab.WidgetTap Namespace