<?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: Issue with String handling script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Issue-with-String-handling-script/m-p/542473#M687049</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;LET&lt;/SPAN&gt; vTemp2= upper(left(filename('$(FoundFile)'),len(filename('$(FoundFile)'))-21));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Quote from Qlikview help&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;The syntax is:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;&lt;SPAN class="Bold"&gt;let &lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;variablename&lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;=&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;expression&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;Note that the word &lt;SPAN class="Bold"&gt;let&lt;/SPAN&gt; may be omitted. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;Set x=3+4;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;Let y=3+4;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;z=$(y)+1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;&lt;SPAN class="Code"&gt;$(x)&lt;/SPAN&gt; will be evaluated as '&lt;SPAN class="Italic"&gt;3+4&lt;/SPAN&gt; '&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;&lt;SPAN class="Code"&gt;$(y)&lt;/SPAN&gt; will be evaluated as '&lt;SPAN class="Italic"&gt;7&lt;/SPAN&gt;'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;&lt;SPAN class="Code"&gt;$(z)&lt;/SPAN&gt; will be evaluated as '&lt;SPAN class="Italic"&gt;8&lt;/SPAN&gt;'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="example"&gt;&lt;SPAN style="color: #3366ff;"&gt;Example:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="color: #3366ff;"&gt;Let T=now( );&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;&lt;SPAN class="Code"&gt;$(T)&lt;/SPAN&gt; will be given the value of the current time. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards.janne&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Jan 2014 08:21:16 GMT</pubDate>
    <dc:creator>mr_janne</dc:creator>
    <dc:date>2014-01-02T08:21:16Z</dc:date>
    <item>
      <title>Issue with String handling script</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-String-handling-script/m-p/542472#M687048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is a line I'm trying to put in my script to check an early if statement in debug.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set vTemp2= upper(left(filename('$(FoundFile)'),len(filename('$(FoundFile)'))-21));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The FoundFile is a loop parameter. &lt;/P&gt;&lt;P&gt;I have this line one step earlier : &lt;/P&gt;&lt;P&gt;set vTemp=&amp;nbsp; '$(FoundFile)';&lt;/P&gt;&lt;P&gt;It works and gives me a path to the file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but the line I showed you doesnt give me a result and what I get in vTemp2 is a long string of :&lt;/P&gt;&lt;P&gt;"upper(left(filename('$(FoundFile)'),len(filename('$(FoundFile)'))-21))"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where am I wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Boris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jan 2014 08:01:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-String-handling-script/m-p/542472#M687048</guid>
      <dc:creator />
      <dc:date>2014-01-02T08:01:31Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with String handling script</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-String-handling-script/m-p/542473#M687049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;LET&lt;/SPAN&gt; vTemp2= upper(left(filename('$(FoundFile)'),len(filename('$(FoundFile)'))-21));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Quote from Qlikview help&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;The syntax is:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;&lt;SPAN class="Bold"&gt;let &lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;variablename&lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;=&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;expression&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;Note that the word &lt;SPAN class="Bold"&gt;let&lt;/SPAN&gt; may be omitted. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;Set x=3+4;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;Let y=3+4;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;z=$(y)+1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;&lt;SPAN class="Code"&gt;$(x)&lt;/SPAN&gt; will be evaluated as '&lt;SPAN class="Italic"&gt;3+4&lt;/SPAN&gt; '&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;&lt;SPAN class="Code"&gt;$(y)&lt;/SPAN&gt; will be evaluated as '&lt;SPAN class="Italic"&gt;7&lt;/SPAN&gt;'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;&lt;SPAN class="Code"&gt;$(z)&lt;/SPAN&gt; will be evaluated as '&lt;SPAN class="Italic"&gt;8&lt;/SPAN&gt;'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="example"&gt;&lt;SPAN style="color: #3366ff;"&gt;Example:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="color: #3366ff;"&gt;Let T=now( );&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;&lt;SPAN class="Code"&gt;$(T)&lt;/SPAN&gt; will be given the value of the current time. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards.janne&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jan 2014 08:21:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-String-handling-script/m-p/542473#M687049</guid>
      <dc:creator>mr_janne</dc:creator>
      <dc:date>2014-01-02T08:21:16Z</dc:date>
    </item>
  </channel>
</rss>

