<?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: Trim in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Trim/m-p/1270473#M865171</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;Left(DocumentName(),Index(DocumentName(),'.')-1)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Dec 2016 12:53:49 GMT</pubDate>
    <dc:creator>sasiparupudi1</dc:creator>
    <dc:date>2016-12-19T12:53:49Z</dc:date>
    <item>
      <title>Trim</title>
      <link>https://community.qlik.com/t5/QlikView/Trim/m-p/1270465#M865163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi i have a apps that read data from server logfile . it capture all the apps name as ####.qvw , is there any way when its load then trim qvw.&lt;/P&gt;&lt;P&gt;i only want document&amp;nbsp; name ,&amp;nbsp; for example&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Finance.qvw&amp;nbsp;&amp;nbsp; as finance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is my load script&lt;/P&gt;&lt;P&gt;Lower(Mid(Document,Index(Document,'\',-1)+1)) as QVWName,&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/Trim/m-p/1270465#M865163</guid>
      <dc:creator>everest226</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Trim</title>
      <link>https://community.qlik.com/t5/QlikView/Trim/m-p/1270466#M865164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you use subfield?&lt;/P&gt;&lt;P&gt;Do you have a list how it is coming?I mean is there a path?&lt;/P&gt;&lt;P&gt;Like &lt;/P&gt;&lt;P&gt;Subfield('document', '.qvw',1)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Dec 2016 23:55:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trim/m-p/1270466#M865164</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2016-12-15T23:55:02Z</dc:date>
    </item>
    <item>
      <title>Re: Trim</title>
      <link>https://community.qlik.com/t5/QlikView/Trim/m-p/1270467#M865165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ujjwal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/qlikview/12.1/Subsystems/Client/Content/Scripting/StringFunctions/Trim.htm" title="https://help.qlik.com/en-US/qlikview/12.1/Subsystems/Client/Content/Scripting/StringFunctions/Trim.htm"&gt;https://help.qlik.com/en-US/qlikview/12.1/Subsystems/Client/Content/Scripting/StringFunctions/Trim.htm&lt;/A&gt;&lt;/P&gt;&lt;H1 data-mc-conditions="Primary.NotToTranslate" style="font-size: 1.714em; margin: 0 0 10px; color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif;"&gt;Trim - script and chart function&lt;/H1&gt;&lt;P style="font-size: 14px; margin: 10px 0; color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif;"&gt;&lt;SPAN class="statement" style="font-weight: bold;"&gt;Trim()&lt;/SPAN&gt; returns the input string trimmed of any leading and trailing spaces.&lt;/P&gt;&lt;P class="syntax_heading" data-mc-autonum="Syntax: " style="font-size: 14px; margin: 10px 0; font-weight: bold; color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif;"&gt;&lt;SPAN class="autonumber"&gt;Syntax: &lt;/SPAN&gt; &lt;/P&gt;&lt;P class="syntax" data-mc-conditions="Primary.NotToTranslate" style="font-size: 12px; margin: 10px 0; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; color: #0f0f0f; background-color: #f4f4f4;"&gt;&lt;SPAN class="statement" style="font-weight: bold;"&gt;Trim(&lt;/SPAN&gt;text&lt;SPAN class="statement" style="font-weight: bold;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="return_type" data-mc-autonum="Return data type: " style="font-size: 14px; margin: 10px 0; color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif;"&gt;&lt;SPAN class="autonumber" style="font-weight: bold;"&gt;Return data type: &lt;/SPAN&gt;string&lt;/P&gt;&lt;P class="MCDropDown_Open MCDropDown dropDown" style="margin-top: 10px; color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif; font-size: 14px;"&gt;&lt;SPAN class="MCDropDownHead dropDownHead"&gt;&lt;A class="dropDownHotspot MCDropDownHotSpot MCDropDownHotSpot_" style="color: #007fca; padding-left: 2px;"&gt;&lt;IMG alt="Closed" class="jive-image MCDropDown_Image_Icon" data-mc-alt2="Open" height="13" src="https://help.qlik.com/en-US/qlikview/12.1/Subsystems/Client/Skins/Default/Stylesheets/Images/transparent.gif" style="border: 0px;" width="16" /&gt;Examples and results:&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class="MCDropDownBody dropDownBody" style="margin-left: 17px;"&gt;&lt;TABLE cellspacing="0" class="TableStyle-tableGrid" style="margin-bottom: 15px; margin-right: auto;"&gt;&lt;THEAD style="border-top-width: 2px; border-top-style: solid; border-top-color: #0f0f0f;"&gt;&lt;TR class="Head-Header1"&gt;&lt;TH class="HeadI--" style="padding: 5px 7px;"&gt;Example&lt;/TH&gt;&lt;TH class="HeadG--" style="padding: 5px 7px;"&gt;Result&lt;/TH&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY style="border-top-width: 2px; border-top-color: #0f0f0f;"&gt;&lt;TR class="Body-Body1" style="border-bottom-width: 1px; border-bottom-color: #d5d5d5;"&gt;&lt;TD class="BodyI--" data-mc-conditions="Primary.NotToTranslate" style="padding: 7px; border: 1px solid #d5d5d5;"&gt;&lt;SPAN class="Code" data-mc-conditions="Primary.NotToTranslate" style="font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px;"&gt;Trim( ' abc' )&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="BodyG--" style="padding: 7px; border: 1px solid #d5d5d5;"&gt;Returns 'abc'&lt;/TD&gt;&lt;/TR&gt;&lt;TR class="Body-Body1" style="border-bottom-width: 1px; border-bottom-color: #d5d5d5;"&gt;&lt;TD class="BodyI--" data-mc-conditions="Primary.NotToTranslate" style="padding: 7px; border: 1px solid #d5d5d5;"&gt;&lt;SPAN class="Code" data-mc-conditions="Primary.NotToTranslate" style="font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px;"&gt;Trim( 'abc ' )&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="BodyG--" style="padding: 7px; border: 1px solid #d5d5d5;"&gt;Returns 'abc'&lt;/TD&gt;&lt;/TR&gt;&lt;TR class="Body-Body1" style="border-bottom-width: 1px; border-bottom-color: #d5d5d5;"&gt;&lt;TD class="BodyC--" data-mc-conditions="Primary.NotToTranslate" style="padding: 7px; border: 1px solid #d5d5d5;"&gt;&lt;SPAN class="Code" data-mc-conditions="Primary.NotToTranslate" style="font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px;"&gt;Trim( ' abc ' )&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="BodyA--" style="padding: 7px; border: 1px solid #d5d5d5;"&gt;Returns 'abc'&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;DIV class="MCDropDownBody dropDownBody" style="margin-left: 17px;"&gt; &lt;/DIV&gt;&lt;DIV class="MCDropDownBody dropDownBody" style="margin-left: 17px;"&gt;Thanks,&lt;/DIV&gt;&lt;DIV class="MCDropDownBody dropDownBody" style="margin-left: 17px;"&gt;YJ&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2016 09:41:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trim/m-p/1270467#M865165</guid>
      <dc:creator />
      <dc:date>2016-12-16T09:41:33Z</dc:date>
    </item>
    <item>
      <title>Re: Trim</title>
      <link>https://community.qlik.com/t5/QlikView/Trim/m-p/1270468#M865166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the Replace() function in your load script.&lt;/P&gt;&lt;P&gt;Just simple put in Replace(.qvw column name, '.qwv', '')&lt;BR /&gt;With this you replace the .qvw part with nothing by putting two apostrophe's.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope I have helped you with this &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2016 09:46:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trim/m-p/1270468#M865166</guid>
      <dc:creator />
      <dc:date>2016-12-16T09:46:38Z</dc:date>
    </item>
    <item>
      <title>Re: Trim</title>
      <link>https://community.qlik.com/t5/QlikView/Trim/m-p/1270469#M865167</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;You can use subfield() as following...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;subfield(FieldName,'.',1) as NewFieldName.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;through above you will get left side value of dot ".".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2016 10:47:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trim/m-p/1270469#M865167</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-16T10:47:44Z</dc:date>
    </item>
    <item>
      <title>Re: Trim</title>
      <link>https://community.qlik.com/t5/QlikView/Trim/m-p/1270470#M865168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Pooja ,&lt;/P&gt;&lt;P&gt;i tried this and it works .&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Replace(Lower(Subfield(Document,'\',-1)),'.qvw','') as QVWName,&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2016 17:53:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trim/m-p/1270470#M865168</guid>
      <dc:creator>everest226</dc:creator>
      <dc:date>2016-12-16T17:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: Trim</title>
      <link>https://community.qlik.com/t5/QlikView/Trim/m-p/1270471#M865169</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;&lt;SPAN style="font-size: 13.3333px;"&gt;I see that you made use of my solution but &lt;/SPAN&gt;I am not sure why you deleted my comment. I just want to let you know that I don't post only for you but for the benefits of others who will come across such scenario. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am posting it again for others sake. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Replace(Lower(Subfield(Document,'\',-1)),'.qvw','') as QVWName,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Or&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;Replace(Lower(Mid(Document,Index(Document,'\',-1)+1)), '.qvw','') as QVWName,&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Dec 2016 07:11:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trim/m-p/1270471#M865169</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2016-12-17T07:11:44Z</dc:date>
    </item>
    <item>
      <title>Re: Trim</title>
      <link>https://community.qlik.com/t5/QlikView/Trim/m-p/1270472#M865170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another one, using subfield onl&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SubField(Lower(SubField(Document, '\', -1)), '.qvw', 1)&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Dec 2016 07:54:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trim/m-p/1270472#M865170</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2016-12-17T07:54:55Z</dc:date>
    </item>
    <item>
      <title>Re: Trim</title>
      <link>https://community.qlik.com/t5/QlikView/Trim/m-p/1270473#M865171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;Left(DocumentName(),Index(DocumentName(),'.')-1)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Dec 2016 12:53:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trim/m-p/1270473#M865171</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2016-12-19T12:53:49Z</dc:date>
    </item>
    <item>
      <title>Re: Trim</title>
      <link>https://community.qlik.com/t5/QlikView/Trim/m-p/1270474#M865172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks &lt;A href="https://community.qlik.com/qlik-users/178253"&gt;tamilarasu&lt;/A&gt;‌&amp;nbsp; thanks for help. and also does that will only trim the document which has .QVW at the end. coz some document name does not have QVW at the end thanks.&lt;/P&gt;&lt;P&gt;somehow by accident it got deleted.&lt;/P&gt;&lt;P&gt;Thanks Again&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Dec 2016 21:52:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trim/m-p/1270474#M865172</guid>
      <dc:creator>everest226</dc:creator>
      <dc:date>2016-12-19T21:52:41Z</dc:date>
    </item>
    <item>
      <title>Re: Trim</title>
      <link>https://community.qlik.com/t5/QlikView/Trim/m-p/1270475#M865173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Ujjwal&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No problem. You can test the &lt;SPAN style="font-size: 13.3333px;"&gt;expression&lt;/SPAN&gt; by simply copy and paste in two text box's. It&lt;SPAN style="font-size: 13.3333px;"&gt; will work in both the cases. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Replace(Lower(Subfield('C:\Users\User1\Desktop\&lt;STRONG style="color: #ff6600;"&gt;Test.qvw&lt;/STRONG&gt;','\',-1)),'.qvw','')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Replace(Lower(Subfield('C:\Users\User1\Desktop\&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;Test&lt;/STRONG&gt;&lt;/SPAN&gt;','\',-1)),'.qvw','')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Dec 2016 01:49:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trim/m-p/1270475#M865173</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2016-12-20T01:49:22Z</dc:date>
    </item>
    <item>
      <title>Re: Trim</title>
      <link>https://community.qlik.com/t5/QlikView/Trim/m-p/1646343#M865174</link>
      <description>&lt;P&gt;it works... &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;but i need to trim front string also for example&lt;/P&gt;&lt;P&gt;c:/user/publish/finance.qvw&lt;BR /&gt;&lt;BR /&gt;here i want only fiance ,how to dot his?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2019 11:55:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trim/m-p/1646343#M865174</guid>
      <dc:creator>venkat1</dc:creator>
      <dc:date>2019-11-13T11:55:35Z</dc:date>
    </item>
  </channel>
</rss>

