1

I have tried to use extended function to separate these values but the problem is that I am able to separate only one value.

enter image description here

https://isu.ifmo.ru/docs/XMLP/help/en_US/htmfiles/B25951_01/T421739T421827.htm

Brian Tompsett - 汤莱恩
  • 5,753
  • 72
  • 57
  • 129
riya
  • 21
  • 4
  • your web link is broken and your question is unclear. Can you explain things a little more please? – Takarii Sep 21 '16 at 11:38

1 Answers1

1

You will have to use some text processing functions on each of the parameter. Say, if $name is the parameter which contains the comma separated data, then

<?xdofx:Instr($name,',',1)?> will give you the position of the comma in the text.

Then <?xdofx:substr($name,1, Instr($name,',',1)-1)?> will return the text before the comma.

And. <?xdofx:substr($name,Instr($name,',',1)+1, length($name))?> will return the text after the comma

first,last
6
first
last
Ranjith R
  • 1,571
  • 1
  • 11
  • 11