remove leading and trailing whitespace with standard Haskell predicate isSpace
Modulehxt-9.3.1.22Haskell2010
Text.XML.HXT.DOM.Util
Little useful things for strings, lists and other values
- 27 values
- Packagehxt-9.3.1.22
- Exports27
- LanguageHaskell2010
- LicenceMIT
- SourceUtil.hs
convert string to lowercase with standard Haskell toLower function
convert string to uppercase with standard Haskell toUpper function
find all positions where a string occurs within another string
find the position of the first occurence of a string
find the position of the last occurence of a string
Removes leading / trailing whitespaces and leading zeros
Reduce whitespace sequences to a single whitespace
replace all whitespace chars by blanks
Escape all disallowed characters in URI references (see http://www.w3.org/TR/xlink/#link-locators)
escape XML chars < and ampercent by transforming them into character references, used for escaping text nodes
see also : attrEscapeXml
escape XML chars <, >, ", and ampercent by transforming them into character references
see also : attrEscapeXml
escape XML chars in attribute values, same as stringEscapeXml, but none blank whitespace is also escaped
see also : stringEscapeXml
convert a string into a hexadecimal string applying charToHexString
see also : charToHexString
convert a char (byte) into a 2-digit hexadecimal string
see also : stringToHexString, intToHexString
convert a none negative Int into a hexadecimal string
see also : charToHexString
convert a string of hexadecimal digits into an Int
convert a string of digits into an Int
take all elements of a list which occur more than once. The result does not contain doubles. (doubles . doubles == doubles)
drop all elements from a list which occur more than once.
remove duplicates from list
mothers little helpers for to much curry