結果 : print every other character in a string java