Discover how the FindWholeWordsOnly property enhances your search with accurate results, ensuring oldValue matches only as a standalone word.... Document doc = new Document (); DocumentBuilder...Assert . That ( doc . GetText (). Trim (), Is . EqualTo ( findWholeWordsOnly...