Forum Discussion
JKambli
Staff
10 years agoTry this,
By default properties convert to String. so you need to reconvert them to array and retrieve values
def airlineCode = context.expand( '${AirlineCode#AirlineCode}' )
codes= airlineCode.replaceAll("\\[","").replaceAll("]","").split(",")
return codes[0].toString()