StringCase Enumeration

Specifies a string case.

Definition

Namespace: DevCase.Core.DataProcessing.Common
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public enum StringCase

Members

LowerCase 0 LowerCase

[Example]

Input : ABCDEF

Output: abcdef

UpperCase 1 UpperCase.

[Example]

Input : abcdef

Output: ABCDEF

TitleCase 2 TitleCase.

[Example]

Input : abcdef

Output: Abcdef

WordCase 3 WordCase.

[Example]

Input : abc def

Output: Abc Def

CamelCaseLower 4 CamelCase (With first letter to LowerCase).

[Example]

Input : ABC DEF

Output: abcDef

CamelCaseUpper 5 CamelCase (With first letter to UpperCase).

[Example]

Input : ABC DEF

Output: AbcDef

MixedTitleCaseLower 6 MixedCase (With first letter to LowerCase).

[Example]

Input : ab cd ef

Output: aB Cd eF

MixedTitleCaseUpper 7 MixedCase (With first letter to UpperCase).

[Example]

Input : ab cd ef

Output: Ab cD Ef

MixedWordCaseLower 8 MixedCase (With first letter of each word to LowerCase).

[Example]

Input : ab cd ef

Output: aB cD eF

MixedWordCaseUpper 9 MixedCase (With first letter of each word to UpperCase).

[Example]

Input : ab cd ef

Output: Ab Cd Ef

ToggleCase 16 ToggleCase.

[Example]

Input : abc def ghi

Output: aBC dEF gHI

DuplicateChars 17 Duplicates the characters.

[Example]

Input : Hello World!

Output: HHeelllloo WWoorrlldd!!

AlternateChars 18 Alternates the characters.

[Example]

Input : Hello World!

Output: hELLO wORLD!

See Also