| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
CabalGild.Unstable.Extra.ByteString
Synopsis
- replace :: ByteString -> ByteString -> ByteString -> ByteString
- splitOn :: ByteString -> ByteString -> [ByteString]
Documentation
replace :: ByteString -> ByteString -> ByteString -> ByteString Source #
Calling replace needle replacement haystack will replace every
non-overlapping occurrence of needle in haystack with replacement.
splitOn :: ByteString -> ByteString -> [ByteString] Source #
Calling splitOn needle haystack will split haystack into a list of
substrings using needle as the delimiter.