<?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: Extract a part from String in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Extract-a-part-from-String/m-p/1535492#M439106</link>
    <description>&lt;P&gt;Perhaps like this:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;Example:
LOAD
    ExampleStrings,
    KeywordTimePart,
    SubField(KeywordTimePart, '(', 1) as Keyword,
    Time#(PurgeChar(SubField(KeywordTimePart, '(', 2),')'),'hh:mm') as Time
    ;
LOAD
    ExampleStrings,
        SubField(ExampleStrings, '+') as KeywordTimePart
    ;
LOAD * INLINE [
ExampleStrings
sulko uspedo (00:20)+podendo (01:05)+Uskudento (05:01)
podendo (07:25)+sulko uspedo droggen(05:50)+Uskudento (05:01)
podendo (04:85)+Uskudento (03:21)+sulko uspedo (02:15)
];&lt;/PRE&gt;</description>
    <pubDate>Sat, 26 Jan 2019 17:11:19 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2019-01-26T17:11:19Z</dc:date>
    <item>
      <title>Extract a part from String</title>
      <link>https://community.qlik.com/t5/QlikView/Extract-a-part-from-String/m-p/1535491#M439105</link>
      <description>&lt;P&gt;I have few strings like&lt;/P&gt;&lt;P&gt;"sulko uspedo (00:20)+podendo (01:05)+Uskudento (05:01)"&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"podendo (07:25)+sulko uspedo&amp;nbsp; droggen(05:50)+Uskudento (05:01)"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"podendo (04:85)+Uskudento (03:21)+sulko uspedo (02:15)"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I need to extract time after key word&amp;nbsp;sulko*&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Result of above 3 sample should be 00:20, 05:50, 02:15 respectively; any idea on extracting time after a specific keyword would be highly appreciated. Thank you!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:39:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Extract-a-part-from-String/m-p/1535491#M439105</guid>
      <dc:creator>brijesh1991</dc:creator>
      <dc:date>2024-11-16T04:39:12Z</dc:date>
    </item>
    <item>
      <title>Re: Extract a part from String</title>
      <link>https://community.qlik.com/t5/QlikView/Extract-a-part-from-String/m-p/1535492#M439106</link>
      <description>&lt;P&gt;Perhaps like this:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;Example:
LOAD
    ExampleStrings,
    KeywordTimePart,
    SubField(KeywordTimePart, '(', 1) as Keyword,
    Time#(PurgeChar(SubField(KeywordTimePart, '(', 2),')'),'hh:mm') as Time
    ;
LOAD
    ExampleStrings,
        SubField(ExampleStrings, '+') as KeywordTimePart
    ;
LOAD * INLINE [
ExampleStrings
sulko uspedo (00:20)+podendo (01:05)+Uskudento (05:01)
podendo (07:25)+sulko uspedo droggen(05:50)+Uskudento (05:01)
podendo (04:85)+Uskudento (03:21)+sulko uspedo (02:15)
];&lt;/PRE&gt;</description>
      <pubDate>Sat, 26 Jan 2019 17:11:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Extract-a-part-from-String/m-p/1535492#M439106</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2019-01-26T17:11:19Z</dc:date>
    </item>
    <item>
      <title>Re: Extract a part from String</title>
      <link>https://community.qlik.com/t5/QlikView/Extract-a-part-from-String/m-p/1535494#M439107</link>
      <description>&lt;P&gt;I would use TextBetween function like below:&lt;/P&gt;&lt;PRE&gt;LOAD *
	,TextBetween(Right(text, Len(text) - Index(text, 'sulko')), '(', ')') as Time
INLINE [
text
sulko uspedo (00:20)+podendo (01:05)+Uskudento (05:01)
podendo (07:25)+sulko uspedo droggen(05:50)+Uskudento (05:01)
podendo (04:85)+Uskudento (03:21)+sulko uspedo (02:15)
];&lt;/PRE&gt;&lt;P&gt;There is the results:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot_1.jpg" style="width: 439px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/4576iFB9587E6E88CBE36/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot_1.jpg" alt="Screenshot_1.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 26 Jan 2019 18:01:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Extract-a-part-from-String/m-p/1535494#M439107</guid>
      <dc:creator>MindaugasBacius</dc:creator>
      <dc:date>2019-01-26T18:01:44Z</dc:date>
    </item>
  </channel>
</rss>

