Forum Discussion
1 Reply
Sort By
- JKambli
Staff
Try 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()