Returns a bool
saying whether the given string contains the specified pattern, expressed as an array of &str
. Avoids all heap allocations.
Returns a bool
saying whether the given string contains the specified pattern, expressed as an array of &str
. Avoids all heap allocations.
Returns a bool
saying whether the given string contains the specified pattern, expressed as an array of integers slices (e.g. [&[20, 30], &[44, 65]]
). Avoids all heap allocations.
Returns a bool
saying whether the given string contains the specified pattern, expressed as an array of &str
. Avoids all heap allocations.
Replaces multiple str
at once, avoiding intermediate allocations. It returns a new String
containing the result. Values passed by value keep ownership.
Replaces multiple str
at once, avoiding intermediate allocations. It returns a new String
containing the result. Values passed by value keep ownership.
Formats a positive number into a StackStr<N>
. The parameters required are the number that must be converted and the length of N
, namely the number of digits of the given number, separated by a semicolon. In case the number has less digits than the specified length, it will have trailing zeros, represented as their utf-8 value: 48
. In case the length is less than required, it will result in undefined behavior.