CliStringUtil Class
Provides CLI related
String methods.
Namespace: DotMake.CommandLineAssembly: DotMake.CommandLine (in DotMake.CommandLine.dll) Version: 2.6.7
public static class CliStringUtil
- Inheritance
- Object CliStringUtil
AddPrefix |
Adds a specific prefix to the string.
|
FormatValue |
Formats a value as a printable string.
|
GetPrefixLength |
Gets the prefix (-, --, /) length from the string.
|
RemovePrefix |
Removes prefixes (-, --, /) from the string.
|
SplitPrefix |
Splits prefixes (-, --, /) from the string.
|
SplitWords |
Splits a string in to words.
|
StripSuffixes |
Strips specific suffixes from the string.
|
ToCase |
Converts the string to a specific case.
|
ToLiteral |
Gets an escaped string literal. Value is enclosed with double quotes and Unicode and ASCII non-printable characters are escaped.
|