src/ie/gmit/sw/ai/Playfair.java
public String[] create4Mers (String s) {
    	int size = s.length();
    	String x[] = new String[size / 4];
    	int counter = 0;
    	for (int i = 0; i < size / 4; i++) {
    		x[i] = s.substring(counter, counter + 4);
    		counter = counter + 4;
    	}//for
    	return x;
    }
//creates as many 4-Mers as it can from string
creates as many 4-Mers as it can from string
creates as many 4 - Mers as it can from string
public String[] create4Mers (String s) {
    	int size = s.length();
    	String x[] = new String[size / 4];
    	int counter = 0;
    	for (int i = 0; i < size / 4; i++) {
    		x[i] = s.substring(counter, counter + 4);
    		counter = counter + 4;
    	}
    	return x;
    }
public String [ ] create4Mers ( String s ) { int size = s . length ( ) ; String x [ ] = new String [ size / 4 ] ; int counter = 0 ; for ( int i = 0 ; i < size / 4 ; i ++ ) { x [ i ] = s . substring ( counter , counter + 4 ) ; counter = counter + 4 ; } return x ; }
creates as many 4-Mers as it can from string
creates as many 4 - Mers as it can from string
//for