I want to assign the array item into variable directly using groovy like this:
def str = "xyz=abc"
def [name, value] = str.split("=")
but groovy doesn't like it. Is there a way to do that (not storing the array result and get the index[0], index[1] from it?).
Thanks,
