IsLowerCase

bool FBullCowGame::IsLowerCase(FString Guess) 
{

 FString LowerCaseGuess = Guess;
 std::transform(LowerCaseGuess.begin(), LowerCaseGuess.end(), LowerCaseGuess.begin(), ::tolower);

 if (Guess == LowerCaseGuess) {
	 return true;
 }
 return false; 
}

Privacy & Terms