| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Hpp.String
Description
HELPERS for working with Strings
Documentation
stringify :: String -> String Source #
Stringification puts double quotes around a string and backslashes before existing double quote characters and backslash characters.
stripAngleBrackets :: String -> String Source #
Remove angle brackets from the ends of a string.
breakOn :: [(String, t)] -> String -> Maybe (t, String, String) Source #
Similar to the function of the same name in the text package.
breakOn needles haystack finds the first instance of an element
of needles in haystack. The first component of the result is
the needle tag, the second component is the prefix of haystack
before the matched needle, the third component is the remainder of
the haystack after the needle..