These are chat archives for synrc/n2o

10th
Jul 2017
Matti Katila
@mudyc
Jul 10 2017 20:27
I started mad shell and get ** exception error: undefined function string:find/2 - when I try string function in shell. Am I missing some module import or what?
Matti Katila
@mudyc
Jul 10 2017 20:44
why is there split in docs http://erlang.org/doc/man/string.html#strip-2 but m(string) does not list it? I searched through revision history of stdlib and it does not explain the difference either.
Andy
@m-2k
Jul 10 2017 21:40
Erlang/OTP 19.1 does not have string:find function
Use Erlang/OTP 20+ https://github.com/erlang/otp/blob/OTP-20.0.1/lib/stdlib/src/string.erl#L60
Matti Katila
@mudyc
Jul 10 2017 21:44
yeah I just figured out that myself too
in javadoc there is @since parameter ;)