[erlang-bugs] lists:suffix/2
Fredrik Linder
<
>
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 <
>
wrote:
> 2008/3/26 Fredrik Linder <
>:
> >
> >
> >
> > (
)23> lists:suffix("a", "ala").
> > true
> > (
)24> lists:suffix("al", "ala").
> > false
> > (
)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
> >
> > http://www.erlang.org/mailman/listinfo/erlang-bugs
> >
> _______________________________________________
> erlang-bugs mailing list
>
> http://www.erlang.org/mailman/listinfo/erlang-bugs
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.erlang.org/pipermail/erlang-bugs/attachments/20080326/073812af/attachment.html
More information about the erlang-bugs
mailing list