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

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Programming : Maplets : Tools : List Box Split

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

withMapletsElements:

mapletMapletPick your favorite Canadian capital(s): ,ListBoxLB1sortOttawa, 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,ShutdownLB1,ButtonCancel,Shutdown:

resultMapletsDisplaymaplet:

iftyperesult,stringthenMapletsToolsListBoxSplitresult1endif

Assume the user selects Victoria and Halifax:

MapletsToolsListBoxSplitVictoria, BC,Halifax, NS

Victoria, BC,Halifax, NS

(1)

See Also

Maplets[Elements][ListBox]

Maplets[Tools]

Overview of Maplet Applications

StringTools[Split]