Skip to main content

Module string

Module string 

Source
Expand description

std::str - string manipulation functions.

Note: the module name in rl imports is str, not string (registered as Module::new("str")).

format uses with_raw_function for variadic {} placeholder substitution. concat also variadic - concatenates any number of values as strings.

Modulesยง

bytes ๐Ÿ”’
char_at ๐Ÿ”’
chars ๐Ÿ”’
concat ๐Ÿ”’
contains ๐Ÿ”’
count ๐Ÿ”’
ends_with ๐Ÿ”’
format ๐Ÿ”’
index_of ๐Ÿ”’
is_empty ๐Ÿ”’
join ๐Ÿ”’
pad_left ๐Ÿ”’
pad_right ๐Ÿ”’
repeat ๐Ÿ”’
replace ๐Ÿ”’
reverse ๐Ÿ”’
slice ๐Ÿ”’
split ๐Ÿ”’
starts_with ๐Ÿ”’
to_lower ๐Ÿ”’
to_upper ๐Ÿ”’
trim ๐Ÿ”’
trim_end ๐Ÿ”’
trim_start ๐Ÿ”’

Constantsยง

KEYWORDS

Functionsยง

module