LongestMatch

As of Version 6.0, LongestMatch has been superseded by the pattern object Longest.

LongestMatch[p]

is a string pattern object matching the longest sequence of characters consistent with the string pattern p.

See Also

StringExpression

Introduced in 2004
(5.1)