<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Columns++, I&#x27;d like to *retain* commas when converting to elastic tabs&#x2F;spaces]]></title><description><![CDATA[<p dir="auto">Greetings –</p>
<p dir="auto">I’m doing work in matlab where I frequently clean up legacy scripts involving array definitions.  Syntax is</p>
<p dir="auto">myArray = {<br />
a,bbb,c,ddddd;<br />
e,ff,ggg,h;<br />
iiii,jj,k,l<br />
}<br />
In-house convention is to align the comma-separated array-elements into columns with spaces, while retaining the commas, as required by matlab syntax.  Array element names can vary in length greatly, and files can get visually messy over time as different users edit and don’t re-align columns.</p>
<p dir="auto">What I typically do:</p>
<p dir="auto">(comma separated) --&gt; convert separated values to tabs --&gt; (elastic tabstops) --&gt; convert tabs to spaces</p>
<p dir="auto">This is wonderfully quick and easy, but it removes the commas.  I’ve played around but haven’t discovered – Is there a way to retain the commas?</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/27471/columns-i-d-like-to-retain-commas-when-converting-to-elastic-tabs-spaces</link><generator>RSS for Node</generator><lastBuildDate>Mon, 04 May 2026 03:54:31 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/27471.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 25 Mar 2026 18:10:18 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Columns++, I&#x27;d like to *retain* commas when converting to elastic tabs&#x2F;spaces on Thu, 26 Mar 2026 02:57:32 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/38651">@W-Pong</a> said in <a href="/post/105036">Columns++, I'd like to *retain* commas when converting to elastic tabs/spaces</a>:</p>
<blockquote>
<p dir="auto">Is there a way to retain the commas?</p>
</blockquote>
<p dir="auto">I made a new release of Columns++ with an option to do that — an additional checkbox in the Conversion settings dialog: <strong>Keep separator character when converting to tabbed.</strong></p>
<p dir="auto">The new release is <a href="https://github.com/Coises/ColumnsPlusPlus/releases/tag/v1.3.2" rel="nofollow ugc">Columns++ version 1.3.2</a>.</p>
<p dir="auto">I have not marked the release stable, but I believe that there is very little chance this change will have any unanticipated negative effects. It should be safe to install.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/105050</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/105050</guid><dc:creator><![CDATA[Coises]]></dc:creator><pubDate>Thu, 26 Mar 2026 02:57:32 GMT</pubDate></item><item><title><![CDATA[Reply to Columns++, I&#x27;d like to *retain* commas when converting to elastic tabs&#x2F;spaces on Thu, 26 Mar 2026 00:06:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/27184">@Coises</a> Thanks much.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/105049</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/105049</guid><dc:creator><![CDATA[W Pong]]></dc:creator><pubDate>Thu, 26 Mar 2026 00:06:33 GMT</pubDate></item><item><title><![CDATA[Reply to Columns++, I&#x27;d like to *retain* commas when converting to elastic tabs&#x2F;spaces on Wed, 25 Mar 2026 19:39:50 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/38651">@W-Pong</a> said in <a href="/post/105038">Columns++, I'd like to *retain* commas when converting to elastic tabs/spaces</a>:</p>
<blockquote>
<p dir="auto">I should add that my current workaround is to highlight the affected region and do an ‘extended’ find replace, replacing “\t” with “,\t”.  This works fine.  Was just hoping I could avoid this need…</p>
</blockquote>
<p dir="auto">If you never have commas within quoted strings in your arrays, just use a slightly modified version of your work-around: without doing any conversion first, replace <strong><code>,</code></strong> with <strong><code>,\t</code></strong>.</p>
<p dir="auto">If you do sometimes have commas in quoted strings, you can either do what you’re doing now or devise a regular expression replacement that will skip commas within quoted strings.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/105040</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/105040</guid><dc:creator><![CDATA[Coises]]></dc:creator><pubDate>Wed, 25 Mar 2026 19:39:50 GMT</pubDate></item><item><title><![CDATA[Reply to Columns++, I&#x27;d like to *retain* commas when converting to elastic tabs&#x2F;spaces on Wed, 25 Mar 2026 18:25:24 GMT]]></title><description><![CDATA[<p dir="auto">I should add that my current workaround is to highlight the affected region and do an ‘extended’ find replace, replacing “\t” with “,\t”.  This works fine.  Was just hoping I could avoid this need…</p>
]]></description><link>https://community.notepad-plus-plus.org/post/105038</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/105038</guid><dc:creator><![CDATA[W Pong]]></dc:creator><pubDate>Wed, 25 Mar 2026 18:25:24 GMT</pubDate></item></channel></rss>