Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class DigitExtracConvert {
- public static void DigitExtracConvert(String[] Int[]) {
- String str = "123a b!@#111";
- String substr1 = str.substring(0, 3);
- String substr2 = str.substring(9, 12);
- int convertetDigits = Integer.parseInt(substr1 + substr2);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement