Advertisement
Guest User

Untitled

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