ezeio2:scriptref:strcat

Concatenate strings

Description

strcat( dest[], const source[], maxlength=sizeof dest )

Copy the string source to the end of dest.

Parameters

dest destination string
source string to be added to dest
maxlength (optional) max total length of the result

Return value

Returns the number of characters added to the string.

Example usage

    new s{20} = "Hello ";
 
    strcat(s, "World"); // returns 5
 
    // s is now "Hello World"
  • ezeio2/scriptref/strcat.txt
  • Last modified: 2019-09-02 21:42
  • by andreh