E' piuttosto elementare, ti basta usare un IF.