Function checkIfStrPresent

Function Documentation

bool checkIfStrPresent(const std::string str, const std::string subStr)

function that checks if a string is present in another string

Parameters:
  • str – main string where the search is done

  • subStr – string to be searched

Returns:

true

Returns:

false