Earmark v1.3.2 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
Link to this function
behead(str, ignore) View Source
Remove the leading part of a string
Link to this function
behead_tuple(str, lead) View Source
Returns a tuple with the prefix and the beheaded string
iex> behead_tuple("prefixpostfix", "prefix")
{"prefix", "postfix"}