code: public static Pair<String, Integer> parseVariable(@NonNull String varName) {
          if (!varName.contains(":")) {
              return Pair.pairOf(varName, 0);
          } else {
              val split = varName.split(":");
              val index = Integer.valueOf(split[split.length - 1]);
              if (split.length == 2)
                  return Pair.pairOf(split[0], index);
              else {
                  val builder = new StringBuilder();
                  for (int e = 0; e < split.length - 1; e++) {
                      builder.append(split[e]);
  
                      if (e < split.length - 2)
                          builder.append(":");
                  }
  
                  return Pair.pairOf(builder.toString(), index);
              }
          }
      }
docs: Note: INTENDED FOR DEVELOPER USE<br>
  This method extract base variable name and output index (if exists) from raw variable name.
  I.e:
  - if variable name is "Unstack_2", result will be Pair("Unstack_2", 0)
  - if variable name is "Unstack_2:12", result will be Pair("Unstack_2", 12)
  
  @param varName
  @return