Table of Contents

Method FindFirstAnagram

Namespace
Gamelogic.Words
Assembly
Gamelogic.Words.dll

FindFirstAnagram(Word)

Find one anagram of a given source string

Word FindFirstAnagram(Word source)

Parameters

source Word

The 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 Word

The source string. May include spaces, but not other non-alphabet characters

phrases bool

Whether to return phrases as well as single words

Returns

Word

The first discovered anagram of source, or null if no anagrams exist