Subversion Repositories SmartDukaan

Rev

Rev 37413 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

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