How to print Collection List!

I need pass List object to py script. But it is throwing python invoke error. it is throwing error becoz parmeter which I am passing is not of format [‘value1’,‘value2’, ‘value3’]
here “[” is not a string it is representation that variable is collection type.

ya I got. but working py script.
okay just send the expression “value1”, “value2”,“value3”…I dont want square brackets.

just remove those square brackets from the code @KarthikBallary and you are good to go

""""+System.Text.RegularExpressions.Regex.Replace(Strr,"\s+",""",""")+""""

2 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.