Arduino Loop Through String In Java