<?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 Replace only first space to a underscore in expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Replace-only-first-space-to-a-underscore-in-expression/m-p/870752#M304404</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Replace only first space to a underscore in expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is urgent please reply&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Apr 2015 23:45:17 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-04-07T23:45:17Z</dc:date>
    <item>
      <title>Replace only first space to a underscore in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-only-first-space-to-a-underscore-in-expression/m-p/870752#M304404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Replace only first space to a underscore in expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is urgent please reply&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 23:45:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-only-first-space-to-a-underscore-in-expression/m-p/870752#M304404</guid>
      <dc:creator />
      <dc:date>2015-04-07T23:45:17Z</dc:date>
    </item>
    <item>
      <title>Re: Replace only first space to a underscore in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-only-first-space-to-a-underscore-in-expression/m-p/870753#M304405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;=Replace('AB CDEFG',' ' ,'_')&lt;/P&gt;&lt;P&gt;The AB CDEFG could be filed name&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 23:52:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-only-first-space-to-a-underscore-in-expression/m-p/870753#M304405</guid>
      <dc:creator>Gabriel</dc:creator>
      <dc:date>2015-04-07T23:52:12Z</dc:date>
    </item>
    <item>
      <title>Re: Replace only first space to a underscore in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-only-first-space-to-a-underscore-in-expression/m-p/870754#M304406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="2015-04-08 00_59_26-Text Object Properties [mam _ko ll  --].png" class="jive-image image-1" src="/legacyfs/online/83061_2015-04-08 00_59_26-Text Object Properties [mam _ko ll  --].png" style="height: 256px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;=mid('mam ko ll&amp;nbsp; --',1,index('mam ko ll&amp;nbsp; --',' ')-1)&amp;amp;'_'&amp;amp;mid('mam ko ll&amp;nbsp; --',index('mam ko ll&amp;nbsp; --',' ')+1,len('mam ko ll&amp;nbsp; --'))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 23:57:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-only-first-space-to-a-underscore-in-expression/m-p/870754#M304406</guid>
      <dc:creator>robert_mika</dc:creator>
      <dc:date>2015-04-07T23:57:42Z</dc:date>
    </item>
    <item>
      <title>Re: Replace only first space to a underscore in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-only-first-space-to-a-underscore-in-expression/m-p/870755#M304407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the String has more than one spaces but want to replace only the first one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'ab cd ef gh'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;output required&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'ab_cd ef gh'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 23:58:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-only-first-space-to-a-underscore-in-expression/m-p/870755#M304407</guid>
      <dc:creator />
      <dc:date>2015-04-07T23:58:07Z</dc:date>
    </item>
    <item>
      <title>Re: Replace only first space to a underscore in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-only-first-space-to-a-underscore-in-expression/m-p/870756#M304408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you please expalin this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 23:59:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-only-first-space-to-a-underscore-in-expression/m-p/870756#M304408</guid>
      <dc:creator />
      <dc:date>2015-04-07T23:59:21Z</dc:date>
    </item>
    <item>
      <title>Re: Replace only first space to a underscore in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-only-first-space-to-a-underscore-in-expression/m-p/870757#M304409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just added pictures but&lt;/P&gt;&lt;P&gt;You have got 3 part&lt;/P&gt;&lt;P&gt;the first mid takes all characters up to first space--&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;mid('mam ko ll&amp;nbsp; --',1,index('mam ko ll&amp;nbsp; --',' ')-1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;then you add underscore -----&amp;gt;&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;amp;'_'&amp;amp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;and the second mid will add the rest of the string -&amp;gt; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;mid('mam ko ll&amp;nbsp; --',index('mam ko ll&amp;nbsp; --',' ')+1,len('mam ko ll&amp;nbsp; --'))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2015 00:04:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-only-first-space-to-a-underscore-in-expression/m-p/870757#M304409</guid>
      <dc:creator>robert_mika</dc:creator>
      <dc:date>2015-04-08T00:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: Replace only first space to a underscore in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-only-first-space-to-a-underscore-in-expression/m-p/870758#M304410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another way&lt;/P&gt;&lt;P&gt;=TextBetween('mam ko ll&amp;nbsp; --','',' ',1)&amp;amp;'_'&amp;amp;TextBetween('mam ko ll&amp;nbsp; --',' ','',1)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2015 00:08:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-only-first-space-to-a-underscore-in-expression/m-p/870758#M304410</guid>
      <dc:creator>robert_mika</dc:creator>
      <dc:date>2015-04-08T00:08:04Z</dc:date>
    </item>
    <item>
      <title>Re: Replace only first space to a underscore in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-only-first-space-to-a-underscore-in-expression/m-p/870759#M304411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I hope it is simpler:&lt;/P&gt;&lt;P&gt;=subfield('ab cd ef gh', ' ',1) &amp;amp; '_' &amp;amp; mid('ab cd ef gh', len(subfield('ab cd ef gh', ' ',1))+1)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2015 00:08:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-only-first-space-to-a-underscore-in-expression/m-p/870759#M304411</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-08T00:08:44Z</dc:date>
    </item>
    <item>
      <title>Re: Replace only first space to a underscore in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-only-first-space-to-a-underscore-in-expression/m-p/870760#M304412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you please tell me the same for the third Space.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2015 15:04:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-only-first-space-to-a-underscore-in-expression/m-p/870760#M304412</guid>
      <dc:creator />
      <dc:date>2015-04-08T15:04:58Z</dc:date>
    </item>
    <item>
      <title>Re: Replace only first space to a underscore in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-only-first-space-to-a-underscore-in-expression/m-p/870761#M304413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;can you please tell me the same for the third Space.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2015 15:05:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-only-first-space-to-a-underscore-in-expression/m-p/870761#M304413</guid>
      <dc:creator />
      <dc:date>2015-04-08T15:05:33Z</dc:date>
    </item>
    <item>
      <title>Re: Replace only first space to a underscore in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-only-first-space-to-a-underscore-in-expression/m-p/870762#M304414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=left('ab cd ef gh',index('ab cd ef gh', ' ',&lt;STRONG&gt;3&lt;/STRONG&gt;)-1)&lt;/P&gt;&lt;P&gt;&amp;amp; '_' &lt;/P&gt;&lt;P&gt;&amp;amp; mid('ab cd ef gh',index('ab cd ef gh', ' ',&lt;STRONG&gt;3&lt;/STRONG&gt;)+1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It should work with any - just replace this '3' with 1 or 2 and try&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2015 15:26:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-only-first-space-to-a-underscore-in-expression/m-p/870762#M304414</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-08T15:26:15Z</dc:date>
    </item>
    <item>
      <title>Re: Replace only first space to a underscore in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-only-first-space-to-a-underscore-in-expression/m-p/870763#M304415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2015 15:39:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-only-first-space-to-a-underscore-in-expression/m-p/870763#M304415</guid>
      <dc:creator />
      <dc:date>2015-04-08T15:39:39Z</dc:date>
    </item>
  </channel>
</rss>

