join/2 | Joins a list of binaries with a separator. |
reverse/1 | Reverses the order of characters in a binary. |
to_hex/1 | Encodes a binary in hexadecimal. |
trim/1 | Trims a binary of all whitespace. |
trim_left/1 | Trims a binary of all leading whitespace. |
trim_right/1 | Trims a binary of all ending whitespace. |
join(Parts, Separator) -> binary()
Joins a list of binaries with a separator.
V = tql_bin:join([<<"a">>, <<"b">>, <<"c">>], <<", ">>), V = <<"a, b, c">>.
reverse(Binary::binary()) -> binary()
Reverses the order of characters in a binary.
V = tql_bin:reverse(<<"reverse">>), V = <<"esrever">>.
to_hex(Bin::binary()) -> binary()
Encodes a binary in hexadecimal.
R = tql_bin:to_hex(<<"foobar">>), R = <<"666f6f626172">>.
trim(Binary::binary()) -> binary()
Trims a binary of all whitespace. Trimmed Characters: \s, \t, \n, \r
V = tql_bin:trim(<<" test ">>), V = <<"test">>.
trim_left(Binary::binary()) -> binary()
Trims a binary of all leading whitespace. Trimmed Characters: \s, \t, \n, \r
V = tql_bin:trim_left(<<" test ">>), V = <<"test ">>.
trim_right(Binary::binary()) -> binary()
Trims a binary of all ending whitespace. Trimmed Characters: \s, \t, \n, \r
V = tql_bin:trim_right(<<" test ">>), V = <<" test">>.
Generated by EDoc