Overview of the StringTools Package - Maple Programming Help

Overview of the StringTools Package

 Calling Sequence StringTools[command](arguments) command(arguments)

Description

 • The StringTools package is a collection of optimized string manipulation utilities.
 • Each command in the StringTools package can be accessed by using either the long form or the short form of the command name in the command calling sequence.
 As the underlying implementation of the StringTools package is a module, it is also possible to use the form StringTools:-command to access a command from the package. For more information,  see Module Members.

List of StringTools Package Commands

 The following is a list of available commands.
 Case Conversions

 Character Class Tests

 Combinatorics on Words

 Comparisons

 Constructors

 Date and Time Procedures

 Metrics and Distances

 Routines for Manipulating English Text

 Filter Operations

 Iterators

 Pattern Matching and Text Searching

 Random Strings

 String Sorting

 String Homology

 Statistics

 Transformations

 Whitespace Handling Procedures

 Miscellaneous Routines

 • The commands in the StringTools package accept symbols in place of strings, whenever possible. However, values returned by commands in the StringTools package are always of type string (rather than symbol), even when the input is a symbol. (Some StringTools procedures return other kinds of values, such as numerics, or other data structures like lists, however.)
 • Note that, for portability, all collation and character class tests and conversions are performed in the C (POSIX) locale. For definitions of the various character classes recognized by the package, see the corresponding character class test help page (for example, StringTools[IsLower]).
 • To display the help page for a particular StringTools commands, see Getting Help with a Command in a Package.
 • All of the StringTools package commands treat strings as (null-terminated) sequences of $8$-bit (ASCII) characters.  Thus, there is no support for multibyte character encodings, such as unicode encodings.

List of StringTools Subpackages

 • The PatternDictionary subpackage provides facilities for managing this list of patterns.