cabal-gild
Safe HaskellSafe-Inferred
LanguageHaskell2010

CabalGild.Unstable.Extra.ByteString

Synopsis

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