Navigation:  MCL Reference > Miscellaneous Functions >

Join( )

Print this Topic Previous pageReturn to chapter overviewNext page

Returns a string which is a concatenate off all items. Items can be any data type. The maximum number of items is 26. (The separator argument will not be counted as an item). All blanks before or after each item will be trimmed.

 

Syntax

Join(cSeperator, eItem1, eItem2, eItem3,...)

 

Argument

cSeperator

A string to be put between 2 consecutive items. Default to a space.

eItem1, eItem2, eItem3,...

Values to be concatenated. The values can be any data type. The maximum number of items is 26.

 

Returns

Character

 

Examples

Join( , ' Apple ', 30)

Returns 'Apple 30'. Please note blanks before and after 'Apple' are trimmed.

 

Join('-', HrJockey( ), HrDistance( ))

Returns a concatenation of jockey name and race distance separating by a hyphen, for example, 'D Whyte-1400'.

 

 


Page url: http://www.racematenet.com/english/help/index.html?join.htm