#I am missing a rule with strings, what is it?
12 messages · Page 1 of 1 (latest)
str1>str2 ?
str1.find(str2) < str1.length() // this should execute
this is the part that I am not sure what I am missing
what are you trying to do with that?
If string 2 is within string 1 I want it to print the message
@junior ferry has reached level 1. GG!
my laptop battery is low, i might be able to help later 🥹 (bye for now)
Str1.find(str2) != std::string::npos
Doing that in a if is true when the string is found
why doesn't mine work ?