<?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>topic Re: Need to Trim Suffix Strings of Variable Length in Alteryx Designer Desktop Discussions</title>
    <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Need-to-Trim-Suffix-Strings-of-Variable-Length/m-p/1421051#M351973</link>
    <description>&lt;P&gt;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/51720"&gt;@Rob48&lt;/a&gt;&amp;nbsp;using regex_replace() function&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="binu_acs_0-1762448642845.png" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/413426i2A82F27A466C1B9C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="binu_acs_0-1762448642845.png" alt="binu_acs_0-1762448642845.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 06 Nov 2025 17:04:17 GMT</pubDate>
    <dc:creator>binu_acs</dc:creator>
    <dc:date>2025-11-06T17:04:17Z</dc:date>
    <item>
      <title>Need to Trim Suffix Strings of Variable Length</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Need-to-Trim-Suffix-Strings-of-Variable-Length/m-p/1421000#M351954</link>
      <description>&lt;P&gt;I'm working with data that has suffix strings of variable length that I need to remove to get at my core data string.&amp;nbsp; I know the list of suffixes I need to remove.&amp;nbsp; My challenges are,&amp;nbsp; the core strings I need to keep are of varying length, spaces, etc, the suffixes I need to trim are around 100 and of varying length and spacing, and periodically new suffixes will be added to the existing list to trim.&amp;nbsp; My only solution right now is to run a chain of 100 separate Formula or Multi-Filed tools to remove each string individually, and add new ones when I encounter new suffixes.&amp;nbsp; This is obviously far too cumbersome to set up and manage.&amp;nbsp; Can anyone suggest a more elegant way to trim all of these suffixes?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sample of the data I'm working with:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;U&gt;&lt;STRONG&gt;Initial Data&lt;/STRONG&gt;&lt;/U&gt;&lt;/TD&gt;&lt;TD&gt;&lt;U&gt;&lt;STRONG&gt;Data I Need&lt;/STRONG&gt;&lt;/U&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;CORE STRING TO KEEP1 TRIM1&lt;/TD&gt;&lt;TD&gt;CORE STRING TO KEEP1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;CORE STRING TO KEEP22 TRIM2 xx&lt;/TD&gt;&lt;TD&gt;CORE STRING TO KEEP22&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;CORE STRING TO KEEP333 TRIM3 yy y&lt;/TD&gt;&lt;TD&gt;CORE STRING TO KEEP333&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;CORE STRING TO KEEP4444 TRIM4 Z&lt;/TD&gt;&lt;TD&gt;CORE STRING TO KEEP4444&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;CORE STRING TO KEEP55555 ALSO KEEP1&lt;/TD&gt;&lt;TD&gt;CORE STRING TO KEEP55555 ALSO KEEP1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;CORE STRING TO KEEP666666 ALSO KEEP2&lt;/TD&gt;&lt;TD&gt;CORE STRING TO KEEP666666 ALSO KEEP22&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Thu, 06 Nov 2025 13:31:21 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Need-to-Trim-Suffix-Strings-of-Variable-Length/m-p/1421000#M351954</guid>
      <dc:creator>Rob48</dc:creator>
      <dc:date>2025-11-06T13:31:21Z</dc:date>
    </item>
    <item>
      <title>Re: Need to Trim Suffix Strings of Variable Length</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Need-to-Trim-Suffix-Strings-of-Variable-Length/m-p/1421001#M351955</link>
      <description>&lt;P&gt;If you have the list, use a Find Replace tool!&lt;/P&gt;</description>
      <pubDate>Thu, 06 Nov 2025 13:36:47 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Need-to-Trim-Suffix-Strings-of-Variable-Length/m-p/1421001#M351955</guid>
      <dc:creator>alexnajm</dc:creator>
      <dc:date>2025-11-06T13:36:47Z</dc:date>
    </item>
    <item>
      <title>Re: Need to Trim Suffix Strings of Variable Length</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Need-to-Trim-Suffix-Strings-of-Variable-Length/m-p/1421002#M351956</link>
      <description>&lt;P&gt;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/51720"&gt;@Rob48&lt;/a&gt;&amp;nbsp;If there's a pattern to what you need to trim/keep then you might be able to do this with a RegEx. Based on your example above, the following would work with the RegEx tool in parse mode:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;(.*KEEP\d+)&lt;/LI-CODE&gt;
&lt;P&gt;Which will keep everything up to the final KEEP and its attached numbers&lt;/P&gt;</description>
      <pubDate>Thu, 06 Nov 2025 13:45:38 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Need-to-Trim-Suffix-Strings-of-Variable-Length/m-p/1421002#M351956</guid>
      <dc:creator>OllieClarke</dc:creator>
      <dc:date>2025-11-06T13:45:38Z</dc:date>
    </item>
    <item>
      <title>Re: Need to Trim Suffix Strings of Variable Length</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Need-to-Trim-Suffix-Strings-of-Variable-Length/m-p/1421051#M351973</link>
      <description>&lt;P&gt;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/51720"&gt;@Rob48&lt;/a&gt;&amp;nbsp;using regex_replace() function&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="binu_acs_0-1762448642845.png" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/413426i2A82F27A466C1B9C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="binu_acs_0-1762448642845.png" alt="binu_acs_0-1762448642845.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Nov 2025 17:04:17 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Need-to-Trim-Suffix-Strings-of-Variable-Length/m-p/1421051#M351973</guid>
      <dc:creator>binu_acs</dc:creator>
      <dc:date>2025-11-06T17:04:17Z</dc:date>
    </item>
  </channel>
</rss>

