public class Test { public static void main(String[] args) throws InterruptedException { String s = "Hello, I am Regino!"; for (int i = 0; i < s.length(); i++) { System.out.print(s.charAt(i)); if (s.charAt(i) != ' ') { Thread.sleep(500); } } } }