Doing better than IsLowercase()

Would it not be preferable for the game to automatically convert the user’s input to all lower case letters? I think this would be more user friendly than rejecting the input. Just a thought…

2 Likes

I absolutely agree with that. So I did my own method:

// Converts a given string to lowercase letters.
FString FGame::ToLowerCase(FString Word) const
{
	FString LowerCaseString = "";

	for (char c : Word) {
		LowerCaseString += tolower(c);
	}
	return LowerCaseString;
}