How can i split a binary in erlang

后端 未结 5 1695
挽巷
挽巷 2020-12-31 14:57

What I want is, I think, relatively simple:

> Bin = <<\"Hello.world.howdy?\">>.
> split(Bin, \".\").
[<<\"Hello\">>, <<\"         


        
5条回答
提交回复
热议问题