Skip to main content

Module string

Module string 

Source
Expand description

String generation and transformation nodes.

Structs§

CharBuf
Generate a deterministic string of a given length from a seed and character set.
Combinations
Map a u64 input to a deterministic string by interpreting it as a multi-positional choice over the pattern’s charsets.
FileLineAt
Cycle-time line lookup over a pre-loaded text file. filename is read at construction time via #[poly_const]; the cycle input selects a line modulo the total count.
HashedUuid
Generate a deterministic UUID v4 string from a u64 seed. Same seed always produces the same UUID; the hash output fills the 128 UUID bits with version (4) and variant (RFC 4122) bits set per spec.
NumberToWords
Convert a u64 to its English word representation.
ParsedCombinations
Map a u64 to a formatted string via mixed-radix indexing into character sets.
StrConcat
Concatenate N wire inputs into a single Str output.
StrDigitSuffix
str_digit_suffix(s) — the run of digits ending the string, as a number, or 0 when it does not end in one.
StrLower
Fold a string to lowercase (str.to_lowercase() semantics).
StrToU64
str_to_u64(s) — the unsigned integer a string names, or 0 when it names none.
StrUpper
Fold a string to uppercase (str.to_uppercase() semantics).

Enums§

Segment
One piece of a combinations pattern.