StringTools - Maple Programming Help

Home : Support : Online Help : Programming : Names and Strings : StringTools Package : Miscellaneous Utilities : StringTools/Support

StringTools

 Support
 compute the characters present in a string

 Calling Sequence Support( s )

Parameters

 s - Maple string

Description

 • The Support(s) command computes the characters present in the input string s, and returns a string consisting of these characters, each occurring once, in byte value order.

Examples

 > $\mathrm{with}\left(\mathrm{StringTools}\right):$
 > $\mathrm{Support}\left("bacbaed"\right)$
 ${"abcde"}$ (1)
 > $\mathrm{Support}\left(\mathrm{Random}\left(100000,'\mathrm{lower}'\right)\right)$
 ${"abcdefghijklmnopqrstuvwxyz"}$ (2)
 > $\mathrm{Support}\left(\mathrm{Random}\left(100000,'\mathrm{dna}'\right)\right)$
 ${"ACGT"}$ (3)