Provides a substring method for string types in Rust.
# Cargo.toml
[dependencies]
substring = "1.4.5"No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Extract a substring from a string slice using byte indices.
Use `s.chars().take(5).collect::<String>()` for character-level slicing.
No dependency data recorded yet.