Fxnk.String (Fxnk v0.1.4) View Source
Functions for working with strings.
Link to this section Summary
Link to this section Functions
Specs
Concatenate two strings.
Example
iex> Fxnk.String.concat("hello", "world")
"helloworld"
Specs
Joins a list of strings together with a seperator.
Example
iex> Fxnk.String.join(["a", "b", "c"], "|")
"a|b|c"
iex> Fxnk.String.join(["foo", "bar", "baz"], " is better than ")
"foo is better than bar is better than baz"