Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@aruld
Last active January 1, 2016 17:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aruld/8178775 to your computer and use it in GitHub Desktop.
Save aruld/8178775 to your computer and use it in GitHub Desktop.
static Void main() {
employees := ["neal", "s", "stu", "j", "rich", "bob"]
Str result := employees.findAll { it.size > 1 }
.map { it.capitalize }
.join(",")
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment