Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- String text = "But what I do have are a very particular set of skills, skills I have acquired over a very long career.";
- char = characters(text) ///turn string into list/array of letters
- i = 0; //initializes i
- while (i < text.length) {
- print(char.letter[i]) ///print 'i'th letter in list (starting with 1)
- TimeUnit.MILLISECONDS.sleep(100) //wait 1/10th of second
- i++; //repeat for all letters
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement