Follow along with the video below to see how to install our site as a web app on your home screen.
Anmerkung: This feature may not be available in some browsers.
public static void main (String[] args)
{
final String validValues = ", &+-"; // String mit allen "gewünschten" Zeichen
char toTest = ',';
System.out.printf("Das Zeichen %c ist enthalten : %b\n", toTest, validValues.indexOf(toTest) >= 0 );
toTest = 'A';
System.out.printf("Das Zeichen %c ist enthalten : %b\n", toTest, validValues.indexOf(toTest) >= 0 );
}