3 Replies Latest reply: Jan 29, 2014 6:30 AM by Marek Manco RSS

    wildcard matching within if statement

      Hi everyone,

      today, Im having simple problem that is driving me crazy!

      All I want to do is to evaluate if supplyed text matches an expression and then do something:

       

       

      Let maskedCount = 1;

       

       

      LET name = 'BRR_wrwq';

      if Match($(name), '*BRR_*') then

        let maskedCount = $(maskedCount) + 1;

      ENDIF

       

       

      I have tried all of if and *Match functions in perhaps all combinations possible but its doing just what it wants :/

      In this particular case Im referring to this thread.

      It still skips the let statement and if I add <>0 it allways enters it

      Im using QlikView 11 SR1 64bit

       

      Thank for your responses!