StringCreation Enumeration

Represents a strategy for generating random strings.


Namespace: KGySoft.CoreLibraries
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 7.1.0
public enum StringCreation


AnyChars0 Represents random characters including invalid ones (unpaired surrogates and non-character UTF-16 code points).
AnyValidChars1 Represents random characters ensuring that the string will not contain invalid Unicode characters.
Ascii2 Represents random ASCII non-control characters.
Digits3 Represents random digit characters.
DigitsNoLeadingZeros4 Represents random digit characters ensuring that the first character is not zero.
Letters5 Represents random English letters.
LettersAndDigits6 Represents random English letters and digit characters.
UpperCaseLetters7 Represents random English uppercase letters.
LowerCaseLetters8 Represents random English lowercase letters.
TitleCaseLetters9 Represents random English title case letters.
UpperCaseWord10 Represents random word-like English characters in uppercase.
LowerCaseWord11 Represents random word-like English characters in lowercase.
TitleCaseWord12 Represents random word-like English characters in title case.
Sentence13 Represents random word-like sequences with uppercase first letter and sentence end mark.

See Also