CliStringUtilGetPrefixLength Method

Gets the prefix (-, --, /) length from the string.

Definition

Namespace: DotMake.CommandLine
Assembly: DotMake.CommandLine (in DotMake.CommandLine.dll) Version: 2.6.7
C#
public static int GetPrefixLength(
	string alias
)

Parameters

alias  String
A string instance.

Return Value

Int32
A new String instance.

See Also