Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 738 Bytes

File metadata and controls

20 lines (15 loc) · 738 Bytes

#_String_ ####Library of _Chain_ links for string processing.

  • _Length_ Get the length of a string.

  • _Lowercase_ Make a string lowercase.

  • _ShannonEntropy_ Estimate the average minimum number of bits needed to encode a string of symbols based on the alphabet size and the frequency of the symbols.

  • _Uppercase_ Make a string uppercase.

  • _Whitespace_ Reduce substrings containing more than one whitespace to a single whitespace. By default, leading and trailing whitespaces are also removed.
    Whitespaces include tab, newline, and linebreak characters.