std::core::string

contains

fn bool String.contains(s, String substr)
Check if a substring is found in the string.

Parameters