<?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: Help need with string generation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-need-with-string-generation/m-p/909600#M315852</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can format strings with these functions: &lt;SPAN style="font-size: 13.3333330154419px;"&gt;left, mid ,right and subfield&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;depends on what your data looks like choose the most suitable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in your case it would probably be subfield:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px; line-height: 1.5em;"&gt;sub&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;field(FieldName, ',', 1) for left of comma&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;sub&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;field(FieldName, ',', 2) for left of comma&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Jul 2015 11:00:10 GMT</pubDate>
    <dc:creator>qumniusomnius</dc:creator>
    <dc:date>2015-07-22T11:00:10Z</dc:date>
    <item>
      <title>Help need with string generation</title>
      <link>https://community.qlik.com/t5/QlikView/Help-need-with-string-generation/m-p/909598#M315850</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;I have a string/name say Xavier, Saritha. I need to only the part Xavier, S. How can we achieve this in Qlikview. Someone please help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Saritha Xavier&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2015 10:53:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-need-with-string-generation/m-p/909598#M315850</guid>
      <dc:creator />
      <dc:date>2015-07-22T10:53:18Z</dc:date>
    </item>
    <item>
      <title>Re: Help need with string generation</title>
      <link>https://community.qlik.com/t5/QlikView/Help-need-with-string-generation/m-p/909599#M315851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you have the name in a field called Name:&lt;/P&gt;&lt;P&gt;Left(Name&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;, Index(Name, ',')+2)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2015 10:55:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-need-with-string-generation/m-p/909599#M315851</guid>
      <dc:creator>Ralf-Narfeldt</dc:creator>
      <dc:date>2015-07-22T10:55:45Z</dc:date>
    </item>
    <item>
      <title>Re: Help need with string generation</title>
      <link>https://community.qlik.com/t5/QlikView/Help-need-with-string-generation/m-p/909600#M315852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can format strings with these functions: &lt;SPAN style="font-size: 13.3333330154419px;"&gt;left, mid ,right and subfield&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;depends on what your data looks like choose the most suitable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in your case it would probably be subfield:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px; line-height: 1.5em;"&gt;sub&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;field(FieldName, ',', 1) for left of comma&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;sub&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;field(FieldName, ',', 2) for left of comma&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2015 11:00:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-need-with-string-generation/m-p/909600#M315852</guid>
      <dc:creator>qumniusomnius</dc:creator>
      <dc:date>2015-07-22T11:00:10Z</dc:date>
    </item>
    <item>
      <title>Re: Help need with string generation</title>
      <link>https://community.qlik.com/t5/QlikView/Help-need-with-string-generation/m-p/909601#M315853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try,&lt;/P&gt;&lt;P&gt;=Mid(Name,1,Index(Name,',',1)+2)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2015 11:02:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-need-with-string-generation/m-p/909601#M315853</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2015-07-22T11:02:08Z</dc:date>
    </item>
    <item>
      <title>Re: Help need with string generation</title>
      <link>https://community.qlik.com/t5/QlikView/Help-need-with-string-generation/m-p/909602#M315854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Saritha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;something like the below should work for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Subfield(field,',',1) &amp;amp; ', ' &amp;amp; Left(Trim(Subfield(field,',',2)),1) &amp;amp; '.' As newfield&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope that helps&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2015 11:02:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-need-with-string-generation/m-p/909602#M315854</guid>
      <dc:creator />
      <dc:date>2015-07-22T11:02:09Z</dc:date>
    </item>
    <item>
      <title>Re: Help need with string generation</title>
      <link>https://community.qlik.com/t5/QlikView/Help-need-with-string-generation/m-p/909603#M315855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=SubField('Xavier, Saritha',',',1)&amp;amp;','&amp;amp; mid(trim(SubField(' Xavier, Saritha',',',2)),1,1)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2015 11:02:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-need-with-string-generation/m-p/909603#M315855</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2015-07-22T11:02:27Z</dc:date>
    </item>
    <item>
      <title>Re: Help need with string generation</title>
      <link>https://community.qlik.com/t5/QlikView/Help-need-with-string-generation/m-p/909604#M315856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Joe , &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Subfield(field,',',1) &amp;amp; ', ' &amp;amp; Left(Trim(Subfield(field,',',2)),1) &amp;amp; '.' As newfield gave me the solution. even if space is there after&amp;nbsp; ',' the result is correct. Thank you .&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2015 11:23:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-need-with-string-generation/m-p/909604#M315856</guid>
      <dc:creator />
      <dc:date>2015-07-22T11:23:56Z</dc:date>
    </item>
    <item>
      <title>Re: Help need with string generation</title>
      <link>https://community.qlik.com/t5/QlikView/Help-need-with-string-generation/m-p/909605#M315857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no worries glad to help &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2015 12:06:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-need-with-string-generation/m-p/909605#M315857</guid>
      <dc:creator />
      <dc:date>2015-07-22T12:06:17Z</dc:date>
    </item>
  </channel>
</rss>

