[erlang-questions] string handling in erlang

Torben Hoffmann torben.lehoff@REDACTED
Thu Dec 11 11:27:22 CET 2008


http://www.erlang.org/doc/man/string.html

tokens(String, SeparatorList) -> Tokens

Types:

String = SeparatorList = string()
Tokens = [string()]

Returns a list of tokens in String, separated by the characters in
SeparatorList.

For example:

> tokens("abc defxxghix jkl", "x ").
["abc", "def", "ghi", "jkl"]

http://www.erlang.org/doc/ should be one of your most used links when you
start Erlang programming.

Cheers,
Torben

2008/12/11 prasantha kumara <jlprasantha@REDACTED>

> hi All,
> i am dealing with a erlang programme.in that programme i need to tokenize
> the atom by "*".can anybody how to solve this matter
> thanks
> prasantha
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-questions
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20081211/11724300/attachment.htm>


More information about the erlang-questions mailing list