0 Replies Latest reply on Oct 18, 2016 1:50 AM by feickholt

    Missing String.toBoolean Property..... solution

    feickholt

      Hi

      if someone like to convert a String to a Boolean value you will see this is currently not possible (up to Version 7.7).

       

      Here is a workaround:

       

      Create a maptype called String.toBoolean

      Enter all possible values for True as key

       

      I used

      true

      True

      TRUE

      1

       

      now you can use:

       

      BoolVariable = Map.HasKey(String.toBoolean, StringValue)

       

      for conversion.

       

      You wil get True in case of matching and false in all other cases.

       

      regards

      Frank