<?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: Trim Login IDs in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Trim-Login-IDs/m-p/981108#M960962</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunny:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just as you sent your solution I figured out how to use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Left(Originator, index(Originator, '(')-1) as Orig&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yours worked, too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jeff&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Oct 2015 23:40:41 GMT</pubDate>
    <dc:creator>jmonroe918</dc:creator>
    <dc:date>2015-10-14T23:40:41Z</dc:date>
    <item>
      <title>Trim Login IDs</title>
      <link>https://community.qlik.com/t5/QlikView/Trim-Login-IDs/m-p/981106#M960960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am loading data from a field that lists a user Last and First Names and then their login id's in parentheses. See below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Orginator:&lt;/P&gt;&lt;P&gt;Monroe, Jeff (jmonroe)&lt;/P&gt;&lt;P&gt;Smith, John (jsmith)&lt;/P&gt;&lt;P&gt;Johnson, Edward (ejohnson)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to strip out the UserID; the name in parentheses. As you can see they are of varying length so I can't use the standard 'Left' command with a number. I need to determine the length of the UserID and then subtract from the Length of the string, etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jeff &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Oct 2015 23:29:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trim-Login-IDs/m-p/981106#M960960</guid>
      <dc:creator>jmonroe918</dc:creator>
      <dc:date>2015-10-14T23:29:37Z</dc:date>
    </item>
    <item>
      <title>Re: Trim Login IDs</title>
      <link>https://community.qlik.com/t5/QlikView/Trim-Login-IDs/m-p/981107#M960961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Trim(SubField(&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Orginator, '(', 1)) as UserID&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Oct 2015 23:36:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trim-Login-IDs/m-p/981107#M960961</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-10-14T23:36:05Z</dc:date>
    </item>
    <item>
      <title>Re: Trim Login IDs</title>
      <link>https://community.qlik.com/t5/QlikView/Trim-Login-IDs/m-p/981108#M960962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunny:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just as you sent your solution I figured out how to use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Left(Originator, index(Originator, '(')-1) as Orig&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yours worked, too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jeff&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Oct 2015 23:40:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trim-Login-IDs/m-p/981108#M960962</guid>
      <dc:creator>jmonroe918</dc:creator>
      <dc:date>2015-10-14T23:40:41Z</dc:date>
    </item>
  </channel>
</rss>

