Covfefe v0.0.1 Earmark.Helpers.StringHelpers View Source

Link to this section Summary

Functions

Remove the leading part of a string

Returns a tuple with the prefix and the beheaded string

Link to this section Functions

Remove the leading part of a string

Link to this function behead_tuple(str, lead) View Source
behead_tuple(String.t, String.t) :: {String.t, String.t}

Returns a tuple with the prefix and the beheaded string

iex> behead_tuple("prefixpostfix", "prefix")
  {"prefix", "postfix"}