split text
hej jeg vil gerne splitte en tekst op i to dele f.eks. and@sol.dk skal deles til and og til sol.dk jeg har kun ganske lidt lige nu hjælpimport java.util.regex.*;
public class EMail
{
private String adresse; //Klassens eneste attribut
private static String[] koder = {"dk","de"};
public EMail()
{
}
public EMail(String enA)
{
adresse = enA;
}
//public boolean erOK()
}
