[erlang-questions] How can I break this string into a list of strings?

Pierre Fenoll <>
Sun Dec 25 12:44:20 CET 2016


string:tokens(XMLLikeString, "<>").

> On 25 Dec 2016, at 08:14, Éric Pailleau <> wrote:
> 
> Hi,
> 
> Have a look to re:split then.
> 
> Something like "(<[^>]+>[^<]*<[^>]+>)" should do the job. Sorry I am not front of a computer right now, so could not test my proposal but may gives you a start anyway. 
> Oh oh oh !
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions


More information about the erlang-questions mailing list