pub fn starts_with(subject: &str, start: &str) -> bool
Checks whether subject
starts with start
.
subject
- The string to verify.
start
- The starting string.
use voca_rs::*;
query::starts_with("say hello to my little friend", "say hello");
query::starts_with("say hello to my little friend", "hello");