Overview of the StringTools Package
Calling Sequence
Description
List of StringTools Package Commands
List of StringTools Subpackages
Alphabetical List of All StringTools Commands
StringTools:-command(arguments)
command(arguments)
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.
The long form, StringTools:-command, is always available. The short form can be used after loading the package.
The following is a list of available commands.
Case Conversions
CamelCase
Capitalize
LowerCase
OtherCase
UpperCase
Character Class Tests
Has
HasAlpha
HasAlphaNumeric
HasASCII
HasBinaryDigit
HasControlCharacter
HasDigit
HasGraphic
HasHexDigit
HasIdentifier
HasIdentifier1
HasLower
HasOctalDigit
HasPrintable
HasPunctuation
HasSpace
HasUpper
HasVowel
IsAlpha
IsAlphaNumeric
IsASCII
IsBinaryDigit
IsControlCharacter
IsDigit
IsGraphic
IsHexDigit
IsIdentifier
IsIdentifier1
IsLower
IsOctalDigit
IsPrintable
IsPunctuation
IsSpace
IsUpper
IsVowel
Combinatorics on Words
Border
BorderArray
BorderLength
Fibonacci
IsConjugate
IsDerangement
IsEodermdrome
IsPalindrome
IsPeriod
IsPermutation
IsPrimitive
LyndonFactors
MaximalPalindromicSubstring
MinimumConjugate
MonotonicFactors
Overlap
PatternCanonicalForm
PatternEquivalent
Period
PrimitiveRoot
ThueMorse
Comparisons
Compare
CompareCI
IsPrefix
IsSuffix
LeftRecursivePathOrder
LexOrder
RevLexOrder
RightRecursivePathOrder
ShortLexOrder
ShortRevLexOrder
Constructors
Fill
Generate
Iota
Random
Repeat
Tabulate
Date and Time Procedures
FormatTime
ParseTime
Encodings
Decode
DecodeEntities
Encode
EncodeEntities
Escape
Visible
Metrics and Distances
EditDistance
HammingDistance
Levenshtein
PrefixDistance
SuffixDistance
Routines for Manipulating English Text
Anagrams
IsAnagram
IsBalanced
Readability
Sentences
Stem
SyllableLength
WordContaining
WordCount
WordEnd
Words
WordStart
WrapText
Filter Operations
AndMap
CharacterMap
Drop
Map
OrMap
Remove
Select
SelectRemove
Snarf
Take
Iterators
LeftFold
RightFold
List Conversions
CaseJoin
CaseSplit
Explode
Implode
Join
LengthSplit
Split
StringSplit
Pattern Matching and Text Searching
ApproximateSearch
ApproximateSearchAll
FirstFromLeft
FirstFromRight
HammingSearch
HammingSearchAll
PatternDictionary
PatternDictionary[Create]
PatternDictionary[Factors]
PatternDictionary[Get]
PatternDictionary[Search]
PatternDictionary[Size]
RegMatch
RegSplit
RegSub
RegSubs
Search
SearchAll
Subs
Substitute
SubstituteAll
WildcardMatch
Random Strings
Randomize
String Sorting
IsSorted
Sort
Unique
String Homology
CommonPrefix
CommonSuffix
IsSubSequence
LongestCommonSubSequence
LongestCommonSubString
Metaphone
SimilarityCoefficient
Soundex
Statistics
ArithmeticMean
Entropy
IndexOfCoincidence
Kasiski
MaxChar
MinChar
Repeats
Transformations
Exchange
GenerateIdentifier
Permute
Reverse
Rotate
Shift
SortPermutation
Whitespace Handling Procedures
Center
Chomp
Chop
DeleteSpace
ExpandTabs
Fence
Indent
MatchFence
PadLeft
PadRight
Squeeze
Trim
TrimLeft
TrimRight
Miscellaneous Routines
Char
CharacterFrequencies
Compress
CountCharacterOccurrences
Delete
DifferencePositions
ExpandCharacterClass
FormatMessage
FromByteArray
Group
Hash
Insert
Length
NGrams
NthWord
Ord
StringBuffer
SubString
Support
ToByteArray
Uncompress
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.
The PatternDictionary subpackage provides facilities for managing this list of patterns.
IsMonotonic
See Also
help
list
module
numerics
string
symbol
UsingPackages
with
Download Help Document