StringTools
MinChar
find the smallest character in a string
MaxChar
find the largest character in a string
Calling Sequence
Parameters
Description
Examples
MinChar( s )
MaxChar( s )
s
-
Maple string
The MinChar(s) command computes the least character present in the string s. The MaxChar(s) command computes the greatest character present in the string s. Characters are ordered by their byte values (1-255).
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.
with⁡StringTools:
MinChar⁡badc
a
MaxChar⁡badc
d
See Also
string
StringTools[ArithmeticMean]
Download Help Document