Module voca_rs::chop[][src]

Expand description

Extracts a character(s) from subject.

Functions

Returns everything after the given search.

Returns everything after the last given search.

Returns everything before the given search.

Returns everything before the last given search.

Access a character from subject at specified position.

Get the Unicode code point value of the character at position. NOTE: Unicode escape must not be a surrogate

Extracts the first length characters from subject.

Converts the subject to a foreign_key.

Get a grapheme from subject at specified position.

Extracts the last length characters from subject.

Returns the max character from the subject by its code point. NOTE: Unicode escape must not be a surrogate

Returns the min character from the subject by its code point. NOTE: Unicode escape must not be a surrogate

Truncates subject to a new length and does not break the words. Guarantees that the truncated string is no longer than length.

Extracts the prefix from subject.

Extracts the suffix from subject.

Extracts from subject a string from start position up to end position. The character at end position is not included.

Extracts from subject a string from start position a number of length characters.

Extracts from subject a string from start position up to end position. The character at end position is not included.

Truncates subject to a new length.