Skip to content

Instantly share code, notes, and snippets.

@aruld
Last active January 1, 2016 09:49
Show Gist options
  • Save aruld/8127841 to your computer and use it in GitHub Desktop.
Save aruld/8127841 to your computer and use it in GitHub Desktop.
employees.stream()
.filter(e -> e.length() > 1)
.map(s -> s.substring(0, 1).toUpperCase() + s.substring(1))
.collect(joining(","));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment