First, no scripture says God knows the end from the beginning. That is simply a misquote. The verse says God declares the end from the beginning.
Second, consider this assertion: Remember that God is also eternal, so God isn't sitting there not knowing, and then searching and finding out. This assertion simply declares God does not mean what He says, when He says He searches our hearts. This false doctriine relys on nullifying scripture after scripture, and then adding to scripture after scripture, to pour a man-made doctrine into the text. Fiddlesticks. Where is the beef!
Van, I don't dismiss scripture. When God says he searches the heart, I believe it.
And you are correct, he did say he declares the end from the beginning. That is what happens when you quote from memory, I should have verified what the scripture said before I posted that. My error.