| Safe Haskell | Safe |
|---|---|
| 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.
breakOn :: String -> String -> (String, String) Source #
Similar to the function of the same name in the text package.
breakOn needle haystack finds the first instance of needle in
haystack. The first component of the result is the prefix of
haystack before needle is matched. The second is the remainder of
haystack, starting with the match.