-
-
Save gregorydickson/aceaa8de67ec9f51b9a6d9f7ce73b28b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def aList = ['1','2','3','4'] | |
def anotherList = [1,2,3,4] | |
aList.each{ text -> | |
anotherList.each{number -> | |
if(number == text.toInteger()) { | |
println number + " " + text | |
return | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment