Can you keep rotating the contents of the string displayed?
- string display = "Hello! ";
-
while(marquee running) // code to rotate
-
display = display.substr(1) + display.substr(0,1);
The code would cause it to change in this order, then continue to repeat.
- "Hello! "
-
"ello! H"
-
"llo! He"
-
"lo! Hel"
-
"o! Hell"
-
"! Hello"
-
" Hello!"
-
" Hello! "
-
" Hello! "