Table of Contents

Method LargestCommonSubstring

Namespace
Gamelogic.Words
Assembly
Gamelogic.Words.dll

LargestCommonSubstring(Word, Word)

Returns the longests substrings of two strings as a list of letters.

public static IList<Word> LargestCommonSubstring(Word s1, Word s2)

Parameters

s1 Word

The one string as a list of letters

s2 Word

The other string as a list of letters

Returns

IList<Word>

A list whose elements are the longest substrings the given strings have in common,
represented as a list of letters.