<?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 Extract substring in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Extract-substring/m-p/377329#M140690</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from a long string i want to extract a fixed number of characters beginning at a certain string.&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Original String:&lt;/P&gt;&lt;P&gt;thisisjustasimpleexampleofmyproblem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lets say i want to extract the first 2 characters after the string simple, which would give me 'ex'.&lt;/P&gt;&lt;P&gt;I want to do this in many strings. The only thing these strings have in common is the 'simple'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How would i do this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Aug 2012 11:46:02 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-08-13T11:46:02Z</dc:date>
    <item>
      <title>Extract substring</title>
      <link>https://community.qlik.com/t5/QlikView/Extract-substring/m-p/377329#M140690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from a long string i want to extract a fixed number of characters beginning at a certain string.&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Original String:&lt;/P&gt;&lt;P&gt;thisisjustasimpleexampleofmyproblem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lets say i want to extract the first 2 characters after the string simple, which would give me 'ex'.&lt;/P&gt;&lt;P&gt;I want to do this in many strings. The only thing these strings have in common is the 'simple'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How would i do this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Aug 2012 11:46:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Extract-substring/m-p/377329#M140690</guid>
      <dc:creator />
      <dc:date>2012-08-13T11:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: Extract substring</title>
      <link>https://community.qlik.com/t5/QlikView/Extract-substring/m-p/377330#M140691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;mid&lt;/STRONG&gt;(orginalstring,&lt;STRONG&gt;index&lt;/STRONG&gt;(orginalstring,'simple'),2)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Aug 2012 11:55:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Extract-substring/m-p/377330#M140691</guid>
      <dc:creator />
      <dc:date>2012-08-13T11:55:27Z</dc:date>
    </item>
    <item>
      <title>Re: Extract substring</title>
      <link>https://community.qlik.com/t5/QlikView/Extract-substring/m-p/377331#M140692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;once again:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;mid&lt;/STRONG&gt;(orginalstring,&lt;STRONG&gt;index&lt;/STRONG&gt;(orginalstring,'simple')+6,2)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Aug 2012 11:56:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Extract-substring/m-p/377331#M140692</guid>
      <dc:creator />
      <dc:date>2012-08-13T11:56:30Z</dc:date>
    </item>
    <item>
      <title>Re: Extract substring</title>
      <link>https://community.qlik.com/t5/QlikView/Extract-substring/m-p/377332#M140693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This will work:&lt;/P&gt;&lt;P&gt;=&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;mid&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;('thisisjustasimpleexampleofmyproblem',&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;index&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;('thisisjustasimpleexampleofmyproblem','simple')+&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;len&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;('simple'),&lt;BR /&gt; 2) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Just repalce the strings here with your fields or variables.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Michael&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Aug 2012 11:58:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Extract-substring/m-p/377332#M140693</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-08-13T11:58:37Z</dc:date>
    </item>
  </channel>
</rss>

