question: public static String parseExperimentName ( String name ) { Scanner scanner = new Scanner ( name ) ; StringBuilder csvName = new StringBuilder ( ) ; scanner . useDelimiter ( "_" ) ; for ( int i = 0 ; i < 4 ; i ++ ) { if ( scanner . hasNext ( ) ) { csvName . append ( scanner . next ( ) + "," ) ; } else { csvName . append ( "," ) ; } } scanner . close ( ) ; return csvName . toString ( ) ; }
target:  Parses the experiment name.