mida soovite poolitada. Muster tagastab massiivi substrings.import java.util.Arrays;import java.util.regex.Pattern;public class StringManipulation { public static void main(String[] args) { String str = “”punane
mida soovite poolitada. Muster tagastab massiivi substrings.import java.util.Arrays;import java.util.regex.Pattern;public class StringManipulation { public static void main(String[] args) { String str = “”punane