LongestRepeatedSubstringLrs Method |
Returns the longest repeated substring of the specified string.
Namespace: Algs4NetAssembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic static string Lrs(
string text
)
Parameters
- text
- Type: SystemString
the string
Return Value
Type:
Stringthe longest repeated substring that appears in
text;
the empty string if no such string
See Also