title: Finding all Palindromes in a string
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/2033903/algorithm-to-find-palindromes">Algorithm to find palindromes</a>  </p>
  </blockquote>
  
  
  
  <p>How do I find all palindromes in a string like:</p>
  
  <p>"AA BB AA TTT AA BB"</p>
  
  <p>I know how to find palindromes in a single string and if I merge these strings by removing the " " character, I can still find the palindromes...but if I do so, how do I reconstruct the original words....</p>
  
  <p>Or is there any other approach which may take less time...Any clue..?</p>