How to use concat operation in String Function Using XPath in Xml

In this article I will explain concat operation of string function.
  • 2730

Introduction

The String's Concat function can take the multiple arguments and returns the concatenation of the arguments or parameters, If some arguments are not a string type then firstly make it string by using string() function and then apply the concat operation.The concat function is case sensitive.

Syntax

String concat (string, string, string*)

Example

concat("Red","Yellow","Green","Blue")
concat(" Hi","How","Are", "You")
concat("abc","1234","pqrs")

Output

The output of the above function is as,

RedYellowGreenBlue
HiHowAreYou
abc1234pqrs

Ask Your Question 

Got a programming related question? You may want to post your question here

Programming Answers here

Categories

More Articles

© 2020 DotNetHeaven. All rights reserved.