TextCasing Enum

Version 1.1.28
.NET Framework 4.8
Namespace Skybrud.Essentials.Strings
Assembly Skybrud.Essentials.dll
Visibility Public

Indicates the casing a given string should be converted to.

public enum TextCasing : Enum { }

Fields

Name Value Summary
LowerCase 0

Indicates that the string should be converted to lower case (eg. Hello World becomes hello world).

UpperCase 1

Indicates that the string should be converted to lower case (eg. Hello World becomes HELLO WORLD).

CamelCase 2

Indicates that the string should be converted to camel case (eg. Hello World becomes helloWorld). Also referred to as lower camel casing.

PascalCase 3

Indicates that the string should be converted to Pascal case (eg. Hello World becomes helloWorld). Also referred to as upper camel casing.

KebabCase 4

Indicates that the string should be converted to kebab case, which is lower case words separated by hyphens (eg. Hello World becomes hello-world).

TrainCase 5

Indicates that the string should be converted to lower case, which is upper case words separated by hyphens (eg. Hello World becomes HELLO-WORLD).

Underscore 6

Indicates that the string should be converted to a lower case string with words separated by underscores (eg. Hello World becomes hello_world).