<br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d"><br></div>Still there is a need for standard string datatype, which will be good for<br>
90% of uses and it should be accepted by all standard libs.<br>I reperesent strings as binaries, and my code become much more verbose<br>(almost unreadable), i.e using:<br>* <<"ABC">>, instead of "ABC"<br>
* <<S1/bytes,S2/bytes>> instead of S1++S2<br>* using file:delete(binary_to_list(Filename)) instead of<br>file:delete(Filename)<br>* xmerl and erlsom parse into lists and not binaries (I heard about expat<br>port, which can parse binary XML, but I don't know how to extract it's code<br>
out of ejabberd).<br>etc.<br><div class="Ih2E3d"><br></div></blockquote><div> </div></div>I agree.  A standard string datatype would be a great addition, and it would make picking up erlang twice as easy.  I am playing around with erlang right now, and strings have been the biggest hurdle for me.<br>
<br>-Dustin<br>