Skip to content

Commit c584747

Browse files
committed
Add README file
1 parent 454ee33 commit c584747

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
This module contains functions for binary string (called stream) processing in
2+
erlang.
3+
4+
example:
5+
6+
%% Return <<"lo Wo">>
7+
stream:sub_stream(<<"Hello World">>, 4, 8).
8+
9+
%% Return <<"Hello">>
10+
stream:strip(<<"...Hello.....">>, both, $.).
11+
12+
%% Return [<<"abc">>, <<"def">>, <<"ghi">>, <<"jkl">>]
13+
stream:tokens(<<"abc defxxghix jkl">>, <<"x ">>).

0 commit comments

Comments
 (0)