Question : rust string contains
Answered by : nenjo-tsu
if a.contains("bc") { do_something();
}
Source : https://stackoverflow.com/questions/48794974/how-to-check-if-a-string-contains-a-substring-in-rust | Last Update : Thu, 28 Apr 22
Answered by : nenjo-tsu
if a.contains("bc") { do_something();
}
Source : https://stackoverflow.com/questions/48794974/how-to-check-if-a-string-contains-a-substring-in-rust | Last Update : Thu, 28 Apr 22