Sexier strings for Elixir
# next
"aab" = Tanga.next("aaa")
# squeeze
"yelow mon" = Tanga.squeeze("yellow moon")
# center
" hello " = Tanga.center("hello", 20)
# swapcase
"hELLO" = Tanga.swapcase("Hello")
If available in Hex, the package can be installed
by adding tanga
to your list of dependencies in mix.exs
:
def deps do
[
{:tanga, "~> 0.7.0"}
]
end
- Swapcase
- Center
- Next
- Squeeze
Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/tanga.