FsRandom


String

Provides basic operations on strings.

Functions and values

Function or valueDescription
randomAlphabet
Signature: int -> GeneratorFunction<string>

Returns a random string which is composed of alphabets.

randomAlphanumeric
Signature: int -> GeneratorFunction<string>

Returns a random string which is composed of alphabets or digits.

randomAscii
Signature: int -> GeneratorFunction<string>

Returns a random string which is composed of non-control non-space ASCII characters.

randomByString
Signature: string -> int -> GeneratorFunction<string>

Returns a random string which is composed of characters in the given string.

randomConcat
Signature: string -> GeneratorFunction<string> list -> GeneratorFunction<string>

Concatenates random strings into one random string.

randomNumeric
Signature: int -> GeneratorFunction<string>

Returns a random string which is composed of digits.

Fork me on GitHub