Abfrage einer Variable auf 2 bestimmte Formate