<div dir="ltr"><div style>Hi everyone,</div><div style><br></div><div style><div style="font-family:arial,sans-serif;font-size:13px">I'm having trouble with Erlang  I hope someone can help me. I'm really newbie in Erlang :)</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">I need to something like strcmp in php.</div><div style="font-family:arial,sans-serif;font-size:13px">
<br></div><div style="font-family:arial,sans-serif;font-size:13px">For example;</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">I have a two different string, Alicia and Alex. I need to <span style="white-space:nowrap">steady order for them. By parsing each letter I guess I can do that.</span></div>
<div style="font-family:arial,sans-serif;font-size:13px"><font color="#000000" face="arial, sans-serif"><span style="white-space:nowrap"><br></span></font></div><div style="font-family:arial,sans-serif;font-size:13px"><font color="#000000" face="arial, sans-serif"><span style="white-space:nowrap">$A. returns 65 so I can't compare with first letters then $l. returns 108 but they are same too.</span></font></div>
<div style="font-family:arial,sans-serif;font-size:13px"><font color="#000000" face="arial, sans-serif"><span style="white-space:nowrap">Now, $e. returns 101 and $i. returns 105. By using this numbers I can give correct order, first Alex then Alica.</span></font></div>
<div style="font-family:arial,sans-serif;font-size:13px"><font color="#000000" face="arial, sans-serif"><span style="white-space:nowrap"><br></span></font></div><div style="font-family:arial,sans-serif;font-size:13px"><font color="#000000" face="arial, sans-serif"><span style="white-space:nowrap">I mean, imagine a function which compare two different variable, by using their ascii codes it will return</span></font></div>
<div style="font-family:arial,sans-serif;font-size:13px"><font color="#000000" face="arial, sans-serif"><span style="white-space:nowrap">correct order.</span></font></div><div style="font-family:arial,sans-serif;font-size:13px">
<font color="#000000" face="arial, sans-serif"><span style="white-space:nowrap"><br></span></font></div><div style="font-family:arial,sans-serif;font-size:13px"><font color="#000000" face="arial, sans-serif"><span style="white-space:nowrap">Function("alicia", "alex") ---> will return alex+alicia</span></font></div>
<div style="font-family:arial,sans-serif;font-size:13px"><font color="#000000" face="arial, sans-serif"><span style="white-space:nowrap"><br></span></font></div><div style="font-family:arial,sans-serif;font-size:13px"><font color="#000000" face="arial, sans-serif"><span style="white-space:nowrap">I hope someone will help me</span></font></div>
<div style="font-family:arial,sans-serif;font-size:13px"><font color="#000000" face="arial, sans-serif"><span style="white-space:nowrap"><br></span></font></div><div style="font-family:arial,sans-serif;font-size:13px"><font color="#000000" face="arial, sans-serif"><span style="white-space:nowrap">Best Regards</span></font></div>
<div style="font-family:arial,sans-serif;font-size:13px"><font color="#000000" face="arial, sans-serif"><span style="white-space:nowrap">Evren</span></font></div><div><font color="#000000" face="arial, sans-serif"><span style="white-space:nowrap"><br>
</span></font></div></div></div>