Java tutorial
//package com.java2s; import android.text.TextUtils; public class Main { public static String removePlusFromMobile(String mobile) { if (mobile != null || !TextUtils.isEmpty(mobile)) { String[] arrMobile = mobile.split("\\+"); if (arrMobile.length > 0) return arrMobile[1]; } return mobile; } }