Click or drag to resize

imbStringPathToolsgetPathVersionForChild Method

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Gets the path version for child nodes by skipping the deepest rootSkip path members

Namespace:  imbSCI.Core.extensions.text
Assembly:  imbSCI.Core (in imbSCI.Core.dll) Version: 0.3.58.
Syntax
C#
public static string getPathVersionForChild(
	this string xPath,
	int rootSkip = 1,
	string splitter = "\"
)
Request Example View Source

Parameters

xPath
Type: SystemString
Path string
rootSkip (Optional)
Type: SystemInt32
How many members from root to skip
splitter (Optional)
Type: SystemString
The splitter used for path

Return Value

Type: String
Shorter version of the path, without deepest rootSkip nodes

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type String. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also