Subversion Repositories SmartDukaan

Rev

Rev 37409 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 37409 Rev 37413
Line 28... Line 28...
28
            return "91" + digits;
28
            return "91" + digits;
29
        }
29
        }
30
        return digits;
30
        return digits;
31
    }
31
    }
32
 
32
 
-
 
33
    public static boolean isTenDigit(String mobile) {
-
 
34
        return mobile != null && mobile.replaceAll("[^0-9]", "").length() == 10;
-
 
35
    }
33
}
36
}