Solved
Forum Discussion
avidCoder
6 years agoSuper Contributor
You can do this way also:-
def fullURL = "https://whatevs.azurewebsites.net/?token=eyJ0eXAiOiJKV1Qi&value=123456789"; String[] val = fullURL.split('&') for (String exp : val) { log.info exp.split('=')[1] }
It's just a suggestion. But nmrao solution would be the best approach to use proper groovy and coding standards.