How to use string-join operation in String Function Using XPath in Xml

In this article I will explain string-join operation of string function.
  • 3073

Introduction

The string-join operation of string can be used to join all the string that are present in the syntax. we can say that this function return the concatenation of the string by using the second argument in this function as a separator.

Syntax

string-join ((string,string,string.......),seperator)

Example

string-join (("have","a","nice","day")," ")
string-join (("have" ,"a","nice","day"),"*")
string-join (("have" ,"a","nice","day"))
string-join ((),"*")

Output

have a nice day
have*a*nice*day
haveaniceday
" "

Ask Your Question 

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

Programming Answers here

Categories

More Articles

© 2019 DotNetHeaven. All rights reserved.