sort a string - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Programming : Names and Strings : StringTools Package : String Sorting : StringTools/IsSorted

StringTools[IsSorted] - sort a string

Calling Sequence

IsSorted( s )

Parameters

s

-

Maple string

Description

• 

The IsSorted(s) command tests whether the characters in the string s appear in sorted order.

• 

If s is the empty string, the command returns true.

Examples

withStringTools:

IsSortedabc

true

(1)

IsSortedacb

false

(2)

IsSortedaabbcdee

true

(3)

IsSortedSortRandom1000000,'lower'

true

(4)

See Also

sort, string, StringTools, StringTools[Sort]


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