String#

ExprStringNameSpace.contains(pattern, *[, ...])

Evaluate if the string contains a pattern.

ExprStringNameSpace.contains_any(patterns, *)

Evaluate if the string contains any of the given patterns.

ExprStringNameSpace.count_matches(pattern, *)

Counts the ocurrrences of the given pattern in the string.

ExprStringNameSpace.ends_with(suffix)

Evaluate if the string ends with.

ExprStringNameSpace.extract(pattern[, ...])

Extract a pattern from the string.

ExprStringNameSpace.find(pattern, *[, ...])

Find the position of the first occurrence of the given pattern.

ExprStringNameSpace.head(n)

Extract the start of the string up to the given length.

ExprStringNameSpace.len_bytes()

Return number of bytes (not chars) of a string.

ExprStringNameSpace.len_chars()

Return number of chars (not bytes) of a string.

ExprStringNameSpace.pad_end(length[, fill_char])

Pad string values at the end to the given length using the given fill character.

ExprStringNameSpace.pad_start(length[, ...])

Pad string values at the front to the given length using the given fill character.

ExprStringNameSpace.replace(pattern, value, *)

Replace the first occurence of a pattern with the given string.

ExprStringNameSpace.replace_all(pattern, ...)

Replace the all occurences of a pattern with the given string.

ExprStringNameSpace.replace_many(patterns[, ...])

Replace the all occurences of any the given patterns with the given string.

ExprStringNameSpace.reverse()

Reverse the string.

ExprStringNameSpace.slice(offset[, length])

Extract the substring at the given offset for the given length.

ExprStringNameSpace.starts_with(prefix)

Evaluate if the string start with.

ExprStringNameSpace.strip_chars([characters])

Trim string values.

ExprStringNameSpace.strip_chars_end([characters])

Trim string values from the end of the string.

ExprStringNameSpace.strip_chars_start([...])

Trim string values from the start of the string.

ExprStringNameSpace.strip_prefix(prefix)

Trim string values removing the given prefix

ExprStringNameSpace.strip_suffix(suffix)

Trim string values removing the given suffix

ExprStringNameSpace.tail(n)

Extract the end of the string up to the given length.

ExprStringNameSpace.to_lowercase()

Return the lowercase of a string.

ExprStringNameSpace.to_titlecase()

Uppercase the first character and lowercase all the others ones of a string.

ExprStringNameSpace.to_uppercase()

Return the uppercase of a string.

ExprStringNameSpace.zfill(length)

Pad numeric string values at the start to the given length using zeros.