  String[] str0 = str.split("@");         for (int x = 0; x < str0.length; x++) {             String[] st0 = str0[x].trim().split("\\|");             for (int j = 0; j < st0.length; j++) {                 System.out.println(st0[j]);              }