concat

The concat function concatenates a specified number of characters from one string onto the end of another string.

Syntax

Use this syntax:



concat(string,string,num_char);
where:       string    =  string variable
             num_char  =  number of characters from the second string onto the
                                       end of the first string

Example

An example of this function follows:



string[10] s1,s2;
concat(s1,s2,5);
//Concatenate five characters from string "s2" onto the end of string
//"s1"