StringExtensions Class

Provides extension methods for String.

Definition

Namespace: DotMake.CommandLine
Assembly: DotMake.CommandLine (in DotMake.CommandLine.dll) Version: 1.8.8
C#
public static class StringExtensions
Inheritance
Object    StringExtensions

Methods

AddPrefix Adds a specific prefix to the string.
GetStableHashCode32 Gets a stable hash code (int).
GetStableStringHashCode32 Gets a stable int hash code as string.
RemovePrefix Removes prefixes (-, --, /) from the string.
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.

See Also