find the smallest character in a string - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Programming : Names and Strings : StringTools Package : Statistics : StringTools/MinChar

StringTools[MinChar] - find the smallest character in a string

StringTools[MaxChar] - find the largest character in a string

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).

Examples

withStringTools:

MinCharbadc

a

(1)

MaxCharbadc

d

(2)

See Also

string, StringTools, StringTools[ArithmeticMean]


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam