APPEND$

Top  Previous  Next

Syntax

STRING = APPEND$(str1 as STRING, ... )

Description

Concatenates all of the strings in the parameter list and returns the total string.

Parameters

str1 - The first string in the parameter list

... - One or more additional strings to concatenate

Return value

A string containing all of the input strings concatenated.

Remarks

Make sure the string you assign to this function is large enough to hold the result. EBASIC does not check for overwritten string memory. The function requires a minimum of two input strings.

See also: Operator '+'

Example usage

A$ = APPEND$("this ","is ","a ","string")
PRINT A$