public static List<String> splitLines(String s){
  ArrayList ret=new ArrayList();
  String[] split=s.split("!n");
  ret.addAll(Arrays.asList(split));
  return ret;
}

public static List < String > splitLines ( String s ) { ArrayList ret = new ArrayList ( ) ; String [ ] split = s . split ( "!n" ) ; ret . addAll ( Arrays . asList ( split ) ) ; return ret ; }
splits a string of text into a list of new segments , using the splitter " ! n . "
