String
Types
Type Classes
Methods
fromString :: String -> a
Class for types that can be constructed from a string literal.
Functions
Break a string into a list of lines, splitting on newlines.
Break a string into a list of words, splitting on whitespace.
Join lines with newline characters.
Join words with spaces.
Prepend a string to a ShowS function.
Prepend a character to a ShowS function.
Remove leading and trailing whitespace.
Remove leading whitespace.
Remove trailing whitespace.
Split a string on a delimiter.
Replace all occurrences of a substring.
Left-justify a string, padding with a character on the right.
Right-justify a string, padding with a character on the left.
Center a string, padding with a character on both sides.
Escape special characters in a string for use in source code.
Unescape a string with escape sequences.
Find the index of the first element satisfying a predicate.
Get all suffixes of a list.
Break a list at the first element satisfying a predicate.