Hi All, I have a problem while creating txt file seperated by "|". The files is getting inserted into DB but, starting from the second line, an extra space is getting inserted to each new line. How do I remove the space in each new line?
My code is as below. return (text{ fn:string-join( (xs:string($identifier), xs:string("4"), xs:string("TOUGV"), xs:string("RESS"), xs:string("MCG") ), "|" ) }," ") Sample output file. 124594|4|TOUGV|RESS|MCG 1048466|4|TOUGV|RESS|MCG 1049986|4|TOUGV|RESS|MCG 1007127|4|TOUGV|RESS|MCG Thanks, Sini
_______________________________________________ General mailing list General@developer.marklogic.com http://developer.marklogic.com/mailman/listinfo/general