#include <iostream>
#include <string>

int main(int argc, char *argv[])
{
    const std::string line = "I am a little test string...";

    std::cout << line.find("I am") << "\n";
    std::cout << (line.find("I am", 1) == std::string::npos ? "not found" : "found") << "\n";
    std::cout << line.find("a") << "\n";
    std::cout << line.find("little") << "\n";

    return 0;
}