Created
July 3, 2015 08:16
-
-
Save clarenced/d4df77ee2cd8e2604f27 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
String proverbe = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. In finibus mollis egestas. Sed in orci sit amet libero pharetra lacinia. " ; | |
Stream<String> splitAsStream = Pattern.compile(" ").splitAsStream(proverbe); | |
splitAsStream.forEach(System.out::println); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment