SourcePoint AMD Help

Table of Contents

strcat

Append one string to another.

Syntax

strcat(string-expr1, string-expr2)

Where:

string-expr1

specifies an nstring variable.

string-expr2

specifies an nstring variable, or a string constant.

Discussion

The strcat command appends the second string (string-expr2) to the end of the first string (string-expr1).

Example

Command input:

define nstring a = "10"
define nstring b = "22."
strcat(b, a)
b

Result:

"22.10"

Related Topics: