[erlang-questions] How can I break this string into a list of strings?
Pierre Fenoll
pierrefenoll@REDACTED
Sun Dec 25 12:44:20 CET 2016
string:tokens(XMLLikeString, "<>").
> On 25 Dec 2016, at 08:14, Éric Pailleau <eric.pailleau@REDACTED> 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
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
More information about the erlang-questions
mailing list