<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>article How to remove trailing spaces from a column in Replicate in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/How-to-remove-trailing-spaces-from-a-column-in-Replicate/ta-p/1936768</link>
    <description>&lt;P&gt;You can use the trim(x,y) function in Expression Builder.&lt;/P&gt;
&lt;P&gt;The trim(x,y) function returns a string formed by removing all characters that appear in y from both sides of x. If there is no value for y, trim(x) removes spaces from both sides of x.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Go to Task Designer -&amp;gt; Task_Name -&amp;gt; Table Settings -&amp;gt; Transform -&amp;gt; click on the f(x) for column_name&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/80517iE49DCCA651437307/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;H4&gt;&amp;nbsp;&lt;/H4&gt;
&lt;P&gt;For Build expression enter:&lt;/P&gt;
&lt;P&gt;trim($first_name)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.png" style="width: 907px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/80518i3639DACC544BD69A/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.png" alt="2.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;H4&gt;&amp;nbsp;&lt;/H4&gt;
&lt;P&gt;Save and then test the task to see if trailing spaces are removed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;Environment&lt;/H4&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;LI-PRODUCT title="Qlik Replicate" id="qlikReplicate"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="font-style: italic;"&gt;The information in this article is provided as-is and to be used at own discretion. Depending on tool(s) used, customization(s), and/or other factors ongoing support on the solution below may not be provided by Qlik Support.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 27 May 2022 19:40:42 GMT</pubDate>
    <dc:creator>KellyHobson</dc:creator>
    <dc:date>2022-05-27T19:40:42Z</dc:date>
    <item>
      <title>How to remove trailing spaces from a column in Replicate</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/How-to-remove-trailing-spaces-from-a-column-in-Replicate/ta-p/1936768</link>
      <description>&lt;P&gt;You can use the trim(x,y) function in Expression Builder.&lt;/P&gt;
&lt;P&gt;The trim(x,y) function returns a string formed by removing all characters that appear in y from both sides of x. If there is no value for y, trim(x) removes spaces from both sides of x.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Go to Task Designer -&amp;gt; Task_Name -&amp;gt; Table Settings -&amp;gt; Transform -&amp;gt; click on the f(x) for column_name&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/80517iE49DCCA651437307/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;H4&gt;&amp;nbsp;&lt;/H4&gt;
&lt;P&gt;For Build expression enter:&lt;/P&gt;
&lt;P&gt;trim($first_name)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.png" style="width: 907px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/80518i3639DACC544BD69A/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.png" alt="2.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;H4&gt;&amp;nbsp;&lt;/H4&gt;
&lt;P&gt;Save and then test the task to see if trailing spaces are removed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;Environment&lt;/H4&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;LI-PRODUCT title="Qlik Replicate" id="qlikReplicate"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="font-style: italic;"&gt;The information in this article is provided as-is and to be used at own discretion. Depending on tool(s) used, customization(s), and/or other factors ongoing support on the solution below may not be provided by Qlik Support.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 May 2022 19:40:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/How-to-remove-trailing-spaces-from-a-column-in-Replicate/ta-p/1936768</guid>
      <dc:creator>KellyHobson</dc:creator>
      <dc:date>2022-05-27T19:40:42Z</dc:date>
    </item>
  </channel>
</rss>

