Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

How would you create a FOR LOOP that loops within a cell?

How would you create a For Loop that loops within a specific cell? I want to make a code that loops for each 'word' (separated by spaces) within a cell. So if a cell contains the string 'the dog has fleas', I want my code to loop on 'the', then on 'dog, then on 'has' and finally on 'fleas' before stopping.

Update:

Ah sorry, Excel :P

2 Answers

Relevance
  • 1 decade ago
    Favorite Answer

    You really need to describe your problem better.

    First, you don't mention a language.

    Second, what is a cell? Perhaps the word cell has a very specific meaning in the language your looking for, so this question isn't necessary, but generally, I don't know what a cell is. An element of an array?

  • Anonymous
    1 decade ago

    what language?

Still have questions? Get your answers by asking now.