📜  rust count 出现的子字符串 - Rust 代码示例

📅  最后修改于: 2022-03-11 14:49:25.329000             🧑  作者: Mango

代码示例1
println!("{}","sea shells sea shells on the sea shore".matches("sea").count());