Answers for "how to split string after charcter, number or spacial char in java"

0

split string 2 characters java

String str= "abcdef";

        String[] array=str.split("(?<=\G.{2})");

        System.out.println(java.util.Arrays.toString(array));
Posted by: Guest on September-01-2020

Code answers related to "how to split string after charcter, number or spacial char in java"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language