Maplets[Tools] - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Programming : Maplets : Tools : Maplets/Tools/ListBoxSplit

Maplets[Tools]

  

ListBoxSplit

  

convert the value of a ListBox to a list of strings

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

ListBoxSplit(x)

Parameters

x

-

value of a ListBox

Description

• 

The ListBoxSplit(x) calling sequence converts a list box value to a list of strings.

Examples

withMaplets[Elements]:

mapletMapletPick your favorite Canadian capital(s): ,ListBox['LB1']sortOttawa, ON,Victoria, BC,Edmonton, AB,Regina, SK,Winnipeg, MB,Toronto, ON,Quebec City, QC,Fredericton, NB,Halifax, NS,Charlottetown, PE,St. John's, NL,Whitehorse, YT,Yellowknife, NT,Iqaluit, NU,lexorder,ButtonOK,Shutdown'LB1',ButtonCancel,Shutdown:

resultMaplets[Display]maplet:

iftyperesult,'string'thenMaplets[Tools][ListBoxSplit]result1end if

Assume the user selects Victoria and Halifax:

Maplets[Tools][ListBoxSplit]Victoria, BC,Halifax, NS

Victoria, BC,Halifax, NS

(1)

See Also

Maplets[Elements][ListBox]

Maplets[Tools]

Overview of Maplet Applications

StringTools[Split]

 


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