I have come up with this Solution:
if (Input.Len() == HiddenWord.Len())
{
if (Input == HiddenWord)
{
PrintLine(TEXT("You Won"));
}
}
else if (Input.Len() != HiddenWord.Len())
{
if (Input.Len() <= HiddenWord.Len())
{
//PrintLine(TEXT("Du hast zu wenige Zeichen angegeben! Das Wort hat %02d Zeichen"), HiddenWord.Len() );
PrintLine(TEXT("You have not given enough characters! The word has %02d characters"), HiddenWord.Len() );
}
else if (Input.Len() >= HiddenWord.Len())
{
//PrintLine(TEXT("Du hast zu viele Zeichen angegeben! Das Wort hat %02d Zeichen") , HiddenWord.Len() );
PrintLine(TEXT("You have entered too many characters! The word has %02d characters") , HiddenWord.Len() );
}
}