Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java char stream to string

Stream<Character> testStream = Stream.of('a', 'b', 'c');

String result = testStream.collect(Collector.of(
    StringBuilder::new,
    StringBuilder::append,
    StringBuilder::append,
    StringBuilder::toString));
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #java #char #stream #string
ADD COMMENT
Topic
Name
7+5 =