[erlang-questions] Erlang regex

Peter Lund erlang@REDACTED
Thu May 22 09:21:44 CEST 2008


Please read the docs: stdlib -> string

There you find it....

Matteo skrev:
> Hi to all,
> i'm a noob of erlang programming. I would like to have some infos 
> about extracting a substring from a string....
> Or better, my situation is this:
>
> i have a string:
> str="OK 01 xxxxxxxx\r\n"); // where xxxxxxxx is a string that i dont 
> know and every time change...
>
> and i need to extract the "xxxxxxx" into another string (str2 for exaple).
>
> Sorry for my english.
>
> Best regards
> M.Canato
> ------------------------------------------------------------------------
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-questions




More information about the erlang-questions mailing list