Method FindFirstAnagram
FindFirstAnagram(Word)
Find one anagram of a given source string
Word FindFirstAnagram(Word source)
Parameters
source
WordThe 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
source
WordThe source string. May include spaces, but not other non-alphabet characters
phrases
boolWhether to return phrases as well as single words
Returns
- Word
The first discovered anagram of
source
, or null if no anagrams exist