[ejabberd] very general erlang question (connected tojlib:make_jid/3)

Stephan Maihöfer sma at turtle-entertainment.de
Fri Oct 17 17:54:21 MSD 2008

answering myself:
integer_to_list(Integer) -> string()
stupid me.


	Von: ejabberd-bounces at jabber.ru [mailto:ejabberd-bounces at jabber.ru] Im Auftrag von Stephan Maihöfer
	Gesendet: Freitag, 17. Oktober 2008 15:39
	An: ejabberd at jabber.ru
	Betreff: [ejabberd] very general erlang question (connected tojlib:make_jid/3)
	i am stuck, i need to create a jid from data i got from json,
	the user part of the jid comes as an int from json but 
	jlib:make_jid/3 needs it as a string...i don't know how to
	typecast that. i guess it's some to_list operation or
	something, but i can't find anything anywhere, so:
	    int -> string
	thanks in advance,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.jabber.ru/pipermail/ejabberd/attachments/20081017/1b733d3a/attachment.htm>

More information about the ejabberd mailing list