[][src]Module voca_rs::chop

Extracts a character(s) from subject.

Functions

char_at

Access a character from subject at specified position.

first

Extracts the first length characters from subject.

grapheme_at

Get a grapheme from subject at specified position.

last

Extracts the last length characters from subject.

prune

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

slice

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

substr

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

substring

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

truncate

Truncates subject to a new length.