Android Email String Validate getNameFromEmail(String email)

Here you can find the source of getNameFromEmail(String email)

Description

get Name From Email

Declaration

public static String getNameFromEmail(String email) 

Method Source Code

//package com.java2s;

public class Main {
    public static String getNameFromEmail(String email) {
        String nameAddr[] = email.split("@");
        return nameAddr[0];
    }//  w w w .  ja va  2 s  . c om
}

Related

  1. checkEmail(String email)
  2. isEmail(String str)
  3. isEmail(String strEmail)
  4. isEmail(String string)
  5. isEmail(String strEmail)
  6. isLegalEmail(String email)
  7. isEmail(String str)
  8. isEmail(String email)
  9. isEmail(String text)