Safe Haskell | Safe-Inferred |
---|
Popular transformation functions for the String
observation type.
Documentation
prefix :: Int -> String -> Maybe StringSource
Prefix of the given size or Nothing
if the size exceeds the
length of the string.
suffix :: Int -> String -> Maybe StringSource
Suffix of the given size or Nothing
if the size exceeds the
length of the string.