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
.
https://github.com/haskell/bytestring/issues/307
splitOn :: ByteString -> ByteString -> [ByteString] Source #
Calling splitOn needle haystack
will split haystack
into a list of
substrings using needle
as the delimiter.
https://github.com/haskell/bytestring/issues/100