다음을 통해 공유


Concatenate

Applies to: Lync 2013 | Lync Server 2013

Concatenate

The Concatenate function concatenates a sequence of supplied string values, in parameter order.

Syntax

string Concatenate(
  string string1,
  string string2,
   ...,
  string stringN
);

Parameters

  • string1
    The first string to concatenate.

  • string2
    The second string to concatenate.

  • ...
     

  • stringN
    The last string to concatenate.

Return Values

Returns the final concatenated string containing each string listed in the parameters, in order, starting from the first parameter to the last. For example, if the following call were made.

Concatenate("This", "Is", "A", "Message")

the result would be "ThisIsAMessage".

Remarks

There must be at least one string argument supplied to this method. Otherwise, a compile error is declared. But if only one string is specified, the function returns only that string.

See also

Concepts

MSPL built-in functions

MSPL scripting reference