[erlang-questions] string to binary

Wes James comptekki@REDACTED
Wed Oct 19 01:02:21 CEST 2011


Is there a way to get "00:11:22:33:44:55" in to this format
<<16#00,16#11,16#22,16#33,16#44,16#55>>?

I can do string:tokens(S) to split the string (list) up, but how do
you put back in <<16#....>>  format?

thanks,

-wes



More information about the erlang-questions mailing list