MaxChar - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


StringTools

  

MinChar

  

find the smallest character in a string

  

MaxChar

  

find the largest character in a string

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

MinChar( s )

MaxChar( s )

Parameters

s

-

Maple string

Description

• 

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.

Examples

withStringTools:

MinCharbadc

a

(1)

MaxCharbadc

d

(2)

See Also

string

StringTools

StringTools[ArithmeticMean]