• These functions search for the first/last substring str (starting at index idx).
• The find() functions search forward and return the first substring.
• The rfind() functions search backward and return the last substring.
• These functions return the index of the first character of the substring when successful or
string::npos if they fail.