[erlang-questions] What is allowed in a pattern in terms of string concatenation?

kevin montuori montuori@REDACTED
Mon Jun 27 18:00:59 CEST 2011

On Mon, Jun 27, 2011 at 11:52 AM, Daniel Dormont
<dan@REDACTED> wrote:
> Suppose I want to test that a certain string String1 ends with a certain other string String2.

Although it doesn't actually answer the question you asked, you might
try  something like lists:suffix(String2, String1).


kevin montuori

More information about the erlang-questions mailing list