question: public void recruitPlayersFromStr ( String playersStr ) { String [ ] players = playersStr . split ( "%\n" ) ; String currLine = players [ 0 ] ; int i = 0 ; while ( ! currLine . equals ( "END_RECRUITS" ) ) { recruitPlayerCSV ( currLine , false ) ; currLine = players [ ++ i ] ; } recruitWalkOns ( ) ; currLine = players [ ++ i ] ; while ( ! currLine . equals ( "END_REDSHIRTS" ) ) { recruitPlayerCSV ( currLine , true ) ; currLine = players [ ++ i ] ; } }
target:  Recruit all players given in a string