<?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: if (first space), then someting. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/if-first-space-then-someting/m-p/1459648#M796502</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=SubField(String, ' ',1) &amp;amp; 'ReplaceString' &amp;amp; Mid(String,Index(String,' ')+1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, an easier solution could be there. If hits, would let know.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Jan 2018 13:30:33 GMT</pubDate>
    <dc:creator>tresB</dc:creator>
    <dc:date>2018-01-05T13:30:33Z</dc:date>
    <item>
      <title>if (first space), then someting.</title>
      <link>https://community.qlik.com/t5/QlikView/if-first-space-then-someting/m-p/1459646#M796500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do I find first space in my string and replace it with something else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-first-space-then-someting/m-p/1459646#M796500</guid>
      <dc:creator>retko1985</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: if (first space), then someting.</title>
      <link>https://community.qlik.com/t5/QlikView/if-first-space-then-someting/m-p/1459647#M796501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: line-through;"&gt;Replace(String, ' ', '@')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2018 13:27:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-first-space-then-someting/m-p/1459647#M796501</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-01-05T13:27:04Z</dc:date>
    </item>
    <item>
      <title>Re: if (first space), then someting.</title>
      <link>https://community.qlik.com/t5/QlikView/if-first-space-then-someting/m-p/1459648#M796502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=SubField(String, ' ',1) &amp;amp; 'ReplaceString' &amp;amp; Mid(String,Index(String,' ')+1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, an easier solution could be there. If hits, would let know.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2018 13:30:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-first-space-then-someting/m-p/1459648#M796502</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2018-01-05T13:30:33Z</dc:date>
    </item>
    <item>
      <title>Re: if (first space), then someting.</title>
      <link>https://community.qlik.com/t5/QlikView/if-first-space-then-someting/m-p/1459649#M796503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if (left(string,1)=" ",then&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2018 13:30:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-first-space-then-someting/m-p/1459649#M796503</guid>
      <dc:creator>zebhashmi</dc:creator>
      <dc:date>2018-01-05T13:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: if (first space), then someting.</title>
      <link>https://community.qlik.com/t5/QlikView/if-first-space-then-someting/m-p/1459650#M796504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Seems, Working this?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=SubField('Sa mpl e', ' ',1) &amp;amp; 'WEE' &amp;amp; Mid('Sa mpl e',Index('Sa mpl e',' ')+1)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2018 13:32:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-first-space-then-someting/m-p/1459650#M796504</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2018-01-05T13:32:29Z</dc:date>
    </item>
    <item>
      <title>Re: if (first space), then someting.</title>
      <link>https://community.qlik.com/t5/QlikView/if-first-space-then-someting/m-p/1459651#M796505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From the array of possible solutions, here's another one:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'courier new', courier;"&gt;=Left(String, Index(String, ' ')-1) &amp;amp; 'Substitute' &amp;amp; Right(String, Len(String)-Index(String, ' '))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Probably the only bonus is that this expression uses &lt;SPAN style="font-family: 'courier new', courier;"&gt;Left()&lt;/SPAN&gt; for the left part, and &lt;SPAN style="font-family: 'courier new', courier;"&gt;Right()&lt;/SPAN&gt; for the right part &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you prefer to first check for the occurrence of a space, you may want to do it like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;=IF (Index(String, ' ') = 0, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; String,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Left(String,Index(String,' ')-1) &amp;amp; 'Substitute' &amp;amp; Right(String,Len(String)-Index(String,' ')))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2018 16:18:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-first-space-then-someting/m-p/1459651#M796505</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2018-01-05T16:18:42Z</dc:date>
    </item>
  </channel>
</rss>

