<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On 25 February 2014 17:33, Oleg <span dir="ltr"><<a href="mailto:lego12239@yandex.ru" target="_blank">lego12239@yandex.ru</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div id=":wy" class="" style="overflow:hidden">If we can use =:= for the string matching, why does string module contain equal()?<br></div></blockquote></div><br>No idea why the API is such. But here is the definition of string:equal/2:<br>
<a href="https://github.com/erlang/otp/blob/maint/lib/stdlib/src/string.erl#L68-L76">https://github.com/erlang/otp/blob/maint/lib/stdlib/src/string.erl#L68-L76</a><br><br clear="all"><div><div dir="ltr"><div><div><br></div>
<div>Cheers,</div><div>-- </div><div>Pierre Fenoll</div></div><div><br></div></div></div>
</div></div>