[erlang-bugs] lists:suffix/2

Fredrik Linder fredrikelinder@REDACTED
Wed Mar 26 20:59:49 CET 2008


Ooops. True, very true. It is I who can't read.

/Fredrik

On Wed, Mar 26, 2008 at 8:53 PM, Anders Nygren <anders.nygren@REDACTED>
wrote:

> 2008/3/26 Fredrik Linder <fredrikelinder@REDACTED>:
> >
> >
> >
> > (node@REDACTED)23> lists:suffix("a", "ala").
> > true
> > (node@REDACTED)24> lists:suffix("al", "ala").
> >  false
> > (node@REDACTED)25> lists:suffix("ala", "ala").
> >  true
> >
> >
> > Erlang OTP R11B
> > stdlib-1.14.5
> >
>
> And what is the problem? "ala" does not end with "al" but it ends with
> "ala"
> Remember suffix is at the end, prefix is at the beginning.
> /Anders
>
>
> > _______________________________________________
> >  erlang-bugs mailing list
> >  erlang-bugs@REDACTED
> >  http://www.erlang.org/mailman/listinfo/erlang-bugs
> >
> _______________________________________________
> erlang-bugs mailing list
> erlang-bugs@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-bugs
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20080326/073812af/attachment.htm>


More information about the erlang-bugs mailing list