public static List<String> splitByNullSeperator(String value){
  String[] valuesarray=value.split("\\u0000");
  List<String> values=Arrays.asList(valuesarray);
  if (values.size() == 0) {
    values=new ArrayList<String>(1);
    values.add("");
  }
  return values;
}

public static List < String > splitByNullSeperator ( String value ) { String [ ] valuesarray = value . split ( "\\u0000" ) ; List < String > values = Arrays . asList ( valuesarray ) ; if ( values . size ( ) == 0 ) { values = new ArrayList < String > ( 1 ) ; values . add ( "" ) ; } return values ; }
split the values separated by null character
