Cppreference String Find Javascript