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.
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