<?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: Removing Parts of Value Strings Using Functions/Mapping in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Removing-Parts-of-Value-Strings-Using-Functions-Mapping/m-p/963234#M13830</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes &lt;/P&gt;&lt;P&gt;use this function &lt;/P&gt;&lt;P&gt;left(yourfield,index(yourfield,' ')-1)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Sep 2015 07:30:36 GMT</pubDate>
    <dc:creator>lironbaram</dc:creator>
    <dc:date>2015-09-30T07:30:36Z</dc:date>
    <item>
      <title>Removing Parts of Value Strings Using Functions/Mapping</title>
      <link>https://community.qlik.com/t5/App-Development/Removing-Parts-of-Value-Strings-Using-Functions-Mapping/m-p/963233#M13829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have data from a CSV file that has values in a specific field like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Apple 9.29.15&lt;/P&gt;&lt;P&gt;Carrot 9.28.15&lt;/P&gt;&lt;P&gt;Banana 10.11.14&lt;/P&gt;&lt;P&gt;Orange 8.28.15&lt;/P&gt;&lt;P&gt;Apple 9.28.15&lt;/P&gt;&lt;P&gt;Carrot 9.27.15&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ideally, I would like the values to read like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Apple&lt;/P&gt;&lt;P&gt;Carrot&lt;/P&gt;&lt;P&gt;Banana&lt;/P&gt;&lt;P&gt;Orange&lt;/P&gt;&lt;P&gt;Apple&lt;/P&gt;&lt;P&gt;Carrot&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since the string values aren't the same character length from the left or the right, I've had a hard time using LEFT or RIGHT functions to snip out these number values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also considered using a mapping function to essentially treat values like "Apple 9.29.15" and "Apple 9.28.15" as the same, but it seems to entail actually going through and manually mapping out all instances. This would not be practical with the scale of my data. It also appears that it's not as easy as mapping "Apple" to "Apple*" -- unless there's an easy shortcut to mapping with wildcards. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have a suggestion how I can either clean or map my data to appear as above?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Sep 2015 23:45:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Removing-Parts-of-Value-Strings-Using-Functions-Mapping/m-p/963233#M13829</guid>
      <dc:creator />
      <dc:date>2015-09-29T23:45:08Z</dc:date>
    </item>
    <item>
      <title>Re: Removing Parts of Value Strings Using Functions/Mapping</title>
      <link>https://community.qlik.com/t5/App-Development/Removing-Parts-of-Value-Strings-Using-Functions-Mapping/m-p/963234#M13830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes &lt;/P&gt;&lt;P&gt;use this function &lt;/P&gt;&lt;P&gt;left(yourfield,index(yourfield,' ')-1)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Sep 2015 07:30:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Removing-Parts-of-Value-Strings-Using-Functions-Mapping/m-p/963234#M13830</guid>
      <dc:creator>lironbaram</dc:creator>
      <dc:date>2015-09-30T07:30:36Z</dc:date>
    </item>
    <item>
      <title>Re: Removing Parts of Value Strings Using Functions/Mapping</title>
      <link>https://community.qlik.com/t5/App-Development/Removing-Parts-of-Value-Strings-Using-Functions-Mapping/m-p/963235#M13831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Left() expression above will split on a space. Another way is&lt;/P&gt;&lt;P&gt;=purgechar(yourfield, ' .1234567890')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Sep 2015 07:33:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Removing-Parts-of-Value-Strings-Using-Functions-Mapping/m-p/963235#M13831</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-09-30T07:33:10Z</dc:date>
    </item>
    <item>
      <title>Re: Removing Parts of Value Strings Using Functions/Mapping</title>
      <link>https://community.qlik.com/t5/App-Development/Removing-Parts-of-Value-Strings-Using-Functions-Mapping/m-p/963236#M13832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ideally this solves your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;subfield([Your Field],' ',1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Serhan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Sep 2015 07:56:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Removing-Parts-of-Value-Strings-Using-Functions-Mapping/m-p/963236#M13832</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-30T07:56:56Z</dc:date>
    </item>
    <item>
      <title>Re: Removing Parts of Value Strings Using Functions/Mapping</title>
      <link>https://community.qlik.com/t5/App-Development/Removing-Parts-of-Value-Strings-Using-Functions-Mapping/m-p/963237#M13833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I like the idea of using the purgechar expression to remove the numbers after the value. I don't think splitting based on spaces will work because my data looks more like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Banana Fruit Salad 10.14.15&lt;/P&gt;&lt;P&gt;Orange Sherbet 11.22.15&lt;/P&gt;&lt;P&gt;Apple Crisp 11.15.14&lt;/P&gt;&lt;P&gt;Pineapple Upside Down Cake 10.14.14&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Sep 2015 16:11:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Removing-Parts-of-Value-Strings-Using-Functions-Mapping/m-p/963237#M13833</guid>
      <dc:creator />
      <dc:date>2015-09-30T16:11:01Z</dc:date>
    </item>
    <item>
      <title>Re: Removing Parts of Value Strings Using Functions/Mapping</title>
      <link>https://community.qlik.com/t5/App-Development/Removing-Parts-of-Value-Strings-Using-Functions-Mapping/m-p/963238#M13834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are also values that look like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2nd Best Pineapple Cake 10.12.14&lt;/P&gt;&lt;P&gt;1st Place Orange Sherbet 10.11.14&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So purging number characters is a no go&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Sep 2015 18:18:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Removing-Parts-of-Value-Strings-Using-Functions-Mapping/m-p/963238#M13834</guid>
      <dc:creator />
      <dc:date>2015-09-30T18:18:36Z</dc:date>
    </item>
    <item>
      <title>Re: Removing Parts of Value Strings Using Functions/Mapping</title>
      <link>https://community.qlik.com/t5/App-Development/Removing-Parts-of-Value-Strings-Using-Functions-Mapping/m-p/963239#M13835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What would be the best way via function to search the string for the first number value following a space and then deleting everything to the right of that number (including the number)? That way you could have:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Banana Fruit Salad 10.14.15&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Orange Sherbet 11.22.15&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Apple Crisp 11.15.14&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Pineapple Upside Down Cake 10.14.14&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;2nd Best Pineapple Cake 10.12.14&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;1st Place Orange Sherbet 10.11.14&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Result in:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Banana Fruit Salad&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Orange Sherbet&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Apple Crisp&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Pineapple Upside Down Cake&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;2nd Best Pineapple Cake&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;1st Place Orange Sherbet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Sep 2015 19:06:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Removing-Parts-of-Value-Strings-Using-Functions-Mapping/m-p/963239#M13835</guid>
      <dc:creator />
      <dc:date>2015-09-30T19:06:50Z</dc:date>
    </item>
  </channel>
</rss>

