<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Praven Kumar</title>
    <description>The latest articles on DEV Community by Praven Kumar (@prk0906).</description>
    <link>https://dev.to/prk0906</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3861064%2F9ea3fef1-aeed-49ef-ba1f-394739984238.png</url>
      <title>DEV Community: Praven Kumar</title>
      <link>https://dev.to/prk0906</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/prk0906"/>
    <language>en</language>
    <item>
      <title>Join a list of strings with '[' as prefix, ']' as suffix, and ',' as delimiter using streams.</title>
      <dc:creator>Praven Kumar</dc:creator>
      <pubDate>Sat, 04 Apr 2026 13:53:22 +0000</pubDate>
      <link>https://dev.to/prk0906/join-a-list-of-strings-with-as-prefix-as-suffix-and-as-delimiter-using-streams-1lc3</link>
      <guid>https://dev.to/prk0906/join-a-list-of-strings-with-as-prefix-as-suffix-and-as-delimiter-using-streams-1lc3</guid>
      <description>&lt;p&gt;Step 1: Convert List → Stream -&amp;gt; &lt;strong&gt;languageList.stream()&lt;/strong&gt;&lt;br&gt;
Step 2: Collecting using joining()&lt;br&gt;
&lt;strong&gt;Collectors.joining(delimiter, prefix, suffix)-&amp;gt;.collect(Collectors.joining(",", "[", "]"))&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;𝐂𝐨𝐥𝐥𝐞𝐜𝐭𝐨𝐫𝐬.𝐣𝐨𝐢𝐧𝐢𝐧𝐠(",", "[", "]") 𝐣𝐨𝐢𝐧𝐬 𝐭𝐡𝐞 𝐞𝐥𝐞𝐦𝐞𝐧𝐭𝐬 𝐨𝐟 𝐚 𝐬𝐭𝐫𝐞𝐚𝐦 𝐢𝐧𝐭𝐨 𝐚 𝐬𝐢𝐧𝐠𝐥𝐞 𝐒𝐭𝐫𝐢𝐧𝐠, 𝐬𝐞𝐩𝐚𝐫𝐚𝐭𝐞𝐝 𝐛𝐲 𝐚 𝐜𝐨𝐦𝐦𝐚, 𝐚𝐧𝐝 𝐚𝐝𝐝𝐬 [ 𝐚𝐭 𝐭𝐡𝐞 𝐛𝐞𝐠𝐢𝐧𝐧𝐢𝐧𝐠 𝐚𝐧𝐝 ] 𝐚𝐭 𝐭𝐡𝐞 𝐞𝐧𝐝.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9qcm43evuzjr784iwng7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9qcm43evuzjr784iwng7.png" alt=" " width="800" height="383"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>java</category>
      <category>java8</category>
      <category>streams</category>
    </item>
  </channel>
</rss>
