Sha256: ee2352a3c7bfe1e41424ae7d02a6488960b2544eb0e27dc7b14b2322933fb00f

Contents?: true

Size: 323 Bytes

Versions: 44

Compression:

Stored size: 323 Bytes

Contents

-module (pm_strings).
-include_lib("../include/defines.hrl").
-compile(export_all).

string_join(Items, Sep) ->
    lists:flatten(lists:reverse(string_join1(Items, Sep, []))).

string_join1([Head | []], _Sep, Acc) ->
    [Head | Acc];
string_join1([Head | Tail], Sep, Acc) ->
    string_join1(Tail, Sep, [Sep, Head | Acc]).

Version data entries

44 entries across 44 versions & 3 rubygems

Version Path
auser-poolparty-0.2.54 lib/erlang/messenger/src/pm_strings.erl
auser-poolparty-0.2.55 lib/erlang/messenger/src/pm_strings.erl
auser-poolparty-0.2.56 lib/erlang/messenger/src/pm_strings.erl
auser-poolparty-0.2.57 lib/erlang/messenger/src/pm_strings.erl
auser-poolparty-0.2.58 lib/erlang/messenger/src/pm_strings.erl
auser-poolparty-0.2.59 lib/erlang/messenger/src/pm_strings.erl
auser-poolparty-0.2.60 lib/erlang/messenger/src/pm_strings.erl
auser-poolparty-0.2.61 lib/erlang/messenger/src/pm_strings.erl
auser-poolparty-0.2.62 lib/erlang/messenger/src/pm_strings.erl
auser-poolparty-0.2.63 lib/erlang/messenger/src/pm_strings.erl
auser-poolparty-0.2.64 lib/erlang/messenger/src/pm_strings.erl
auser-poolparty-0.2.65 lib/erlang/messenger/src/pm_strings.erl
auser-poolparty-0.2.66 lib/erlang/messenger/src/pm_strings.erl
auser-poolparty-0.2.67 lib/erlang/messenger/src/pm_strings.erl
auser-poolparty-0.2.68 lib/erlang/messenger/src/pm_strings.erl
auser-poolparty-0.2.69 lib/erlang/messenger/src/pm_strings.erl
auser-poolparty-0.2.70 lib/erlang/messenger/src/pm_strings.erl
auser-poolparty-0.2.71 lib/erlang/messenger/src/pm_strings.erl
auser-poolparty-0.2.72 lib/erlang/messenger/src/pm_strings.erl
auser-poolparty-0.2.74 lib/erlang/messenger/src/pm_strings.erl