Method FindFirstAnagram
FindFirstAnagram(Word)
Find one anagram of a given source string
Word FindFirstAnagram(Word source)
Parameters
sourceWordThe source string. May include spaces, but not other non-alphabet characters
Returns
- Word
The first discovered anagram of
source, or null if no anagrams exist
FindFirstAnagram(Word, bool)
Find one anagram of a given source string, optionally returning phrases
Word FindFirstAnagram(Word source, bool phrases)
Parameters
sourceWordThe source string. May include spaces, but not other non-alphabet characters
phrasesboolWhether to return phrases as well as single words
Returns
- Word
The first discovered anagram of
source, or null if no anagrams exist