hydra.overlay.python.lib.strings module
Python implementations of hydra.overlay.python.lib.strings primitives.
- hydra.overlay.python.lib.strings.char_at(i: int, s: str) object
Get the Unicode code point at a specific index, returning none if out of bounds.
- hydra.overlay.python.lib.strings.concat(xs: Sequence[str]) str
Concatenate a list of strings into a single string.
- hydra.overlay.python.lib.strings.concat2(s1: str, s2: str) str
Concatenate two strings.
- hydra.overlay.python.lib.strings.from_list(values: Sequence[int]) str
Convert a list of Unicode code points to a string.
- hydra.overlay.python.lib.strings.is_empty(s: str) bool
Check whether a string is empty.
- hydra.overlay.python.lib.strings.join(separator: str, values: Sequence[str]) str
Join a list of strings with a separator between each element.
- hydra.overlay.python.lib.strings.length(s: str) int
Return the length of a string.
- hydra.overlay.python.lib.strings.split_on(delimiter: str, x: str) tuple
Split a string on a delimiter string.
- hydra.overlay.python.lib.strings.to_list(x: str) tuple
Convert a string to a list of Unicode code points.
- hydra.overlay.python.lib.strings.to_lower(s: str) str
Convert a string to lowercase.
- hydra.overlay.python.lib.strings.to_upper(s: str) str
Convert a string to uppercase.
- hydra.overlay.python.lib.strings.words(s: str) tuple
Split a string into words.