I am looking to loop through a string, focusing on each character at a time.
This is what I want to do, like it is an array:
var cleanText = "this is my string of characters I want to iterate through";
var currentChar = cleanText.shift();
// do some more stuff
so that it concentrates only on that specific character and removes it as it goes.
What alternative can use for this example as it is not an array?