fn main() { let s = "hello.rs"; println!("{} {} {}", s.contains("llo"), s.starts_with("he"), s.ends_with(".rs")); }
contains, starts_with, ends_with