docs: public int convertStringToIndex(String tempString)
      {
          String tempChar = tempString;
          if (tempChar.length() == 0)
              tempChar = " ";
          if ((tempChar.charAt(0) == 'Y') || (tempChar.charAt(0) == 'y'))
              return 1;
          else
              return 0;
      }