Copy the code below. This code will display all of the words in a string. Make the following changes. Add two more words to the string. change temp = temp + text[x] to temp = text[x] + temp. Run the code. In the IF statement, store each word into a new string called “sentence” Display … Continue reading Looping over a string
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed