pub struct StringNameSpace(_);
Expand description

Specialized expressions for Series of DataType::Utf8.

Implementations

Check if a string value contains a literal substring.

Check if a string value contains a Regex substring.

Check if a string value ends with the sub string.

Check if a string value starts with the sub string.

Extract a regex pattern from the a string value.

Available on crate feature string_justify only.

Return a copy of the string left filled with ASCII ‘0’ digits to make a string of length width. A leading sign prefix (‘+’/‘-’) is handled by inserting the padding after the sign character rather than before. The original string is returned if width is less than or equal to s.len().

Available on crate feature string_justify only.

Return the string left justified in a string of length width. Padding is done using the specified fillchar, The original string is returned if width is less than or equal to s.len().

Available on crate feature string_justify only.

Return the string right justified in a string of length width. Padding is done using the specified fillchar, The original string is returned if width is less than or equal to s.len().

Extract each successive non-overlapping match in an individual string as an array

Count all successive non-overlapping regex matches.

Concat the values into a string array.

Arguments
  • delimiter - A string that will act as delimiter between values.

Split the string by a substring. The resulting dtype is List<Utf8>.

Split the string by a substring and keep the substring. The resulting dtype is List<Utf8>.

Split exactly n times by a given substring. The resulting dtype is DataType::Struct.

Split exactly n times by a given substring and keep the substring. The resulting dtype is DataType::Struct.

Split by a given substring, returning exactly n items. If there are more possible splits, keeps the remainder of the string intact. The resulting dtype is DataType::Struct.

Replace values that match a regex pat with a value.

Replace all values that match a regex pat with a value.

Remove whitespace on both sides.

Remove leading whitespace.

Remove trailing whitespace.

Convert all characters to lowercase.

Convert all characters to uppercase.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The alignment of pointer.
The type for initializers.
Initializes a with the given initializer. Read more
Dereferences the given pointer. Read more
Mutably dereferences the given pointer. Read more
Drops the object pointed to by the given pointer. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.