Split text field expression


i have a textfield which is displaying the value of a variable. this variable contains for example,
(text1='hello') AND (text2='world')

now i need to only display the values. i mean i need to display hello,world. so i have put a text field expression, $P{fstring}.split("-")[1] which picks up hello and i have $P{fstring}.split("-")[2] which picks up world separately.

i need to somehow put them together so that it picks up both at the same time and displays just the values separated by commas in one text field.

can somebody guide me in this. thanks.
ag201's picture
Joined: Jan 16 2007 - 12:30pm
Last seen: 16 years 8 months ago

0 Answers:

No answers yet