stream processing module for Erlang
Erlang
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
ChangeLog
README
stream.erl

README

This module contains functions for binary string (called stream) processing in
erlang.

example:

   %% Return <<"lo Wo">>
   stream:sub_stream(<<"Hello World">>, 4, 8).

   %% Return <<"Hello">>
   stream:strip(<<"...Hello.....">>, both, $.).

   %% Return [<<"abc">>, <<"def">>, <<"ghi">>, <<"jkl">>]
   stream:tokens(<<"abc defxxghix jkl">>, <<"x ">>).