2 Replies Latest reply: Aug 11, 2016 6:11 AM by Youness Ghanim RSS

    In QlikView or Sense what is equivalent to a String builder in Java?

    Youness Ghanim

      Hi all,


      In Java it is easy to drop this code inside a for loop and then get a nicely concatenated string.


      a = new StringBuilder()

      However I haven't been able to do the same in Qlik Sene. I am trying to achieve something like this:

      Let vMyVar = 'some text ';

      For i = 1 to 3

      vMyVar += i + Peek('City', $(i), 'weatherdata');


      Trace $(vMyvar );

      Where $(vMyvar) must be in the end => some text 1 France 2 Madrid 3 Lund

      I hope this is clear

      Many thanks