Table of Contents

CliStringUtil.GetPrefixLength Method

Definition

Namespace
DotMake.CommandLine
Assembly
DotMake.CommandLine.dll

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

public static int GetPrefixLength(string alias)

Parameters

alias string

A string instance.

Returns

int

A new string instance.