docs: public String getPratyahaara(String strInSLP, boolean hideMarkers)
      {
          String returnVal = "";
          
          // I if empty String is entered
          if (strInSLP.length() == 0)
          {
              returnVal = "Error: Cannot process Empty String";
          }
  
          // II if length of SLP Representation of String is greater than 3
          else if (strInSLP.length() > 3)
          {
              returnVal = "Error: " + EncodingUtil.convertSLPToDevanagari(strInSLP) + " is not a Vaid Pratyahara";
          }
  
          else if ((VowelUtil.isVowel(getPrathamVarna(strInSLP)) && strInSLP.length() == 2) || (VowelUtil.isConsonant(strInSLP.charAt(0)) && strInSLP.length() == 3))
          {
              String helperString = "";
              Iterator<String> iterator = listOfElements.iterator();
              boolean check = false;
              boolean Nakaar = false;
              String prathamaVarna = getPrathamVarna(strInSLP);
              // Display Elements
              while (iterator.hasNext())
              {
                  String element = (String) iterator.next();
                  String last = "-" + strInSLP.substring(strInSLP.length() - 1, strInSLP.length());
  
                  if (last.equals("-R")) // equal to ITRANS 'N'
                  {
                      if (element.equals("a") || element.equals("i") || element.equals("u") && check == true)
                      {
                          Nakaar = true;
                      }
                  }
  
                  if (prathamaVarna.equals(element))
                  {
                      check = true; // found the first varna for pratyahaara
                      // generation
                  }
  
                  if (check == true)
                  {
                      if (element.equals(last))
                      {
                          if (hideMarkers == false)
                          {
                              returnVal = helperString + element.substring(element.length() - 1, element.length()) + "\n";
                              if (Nakaar == true)
                              {
                                  helperString = "1: \n" + returnVal + "\n2: \n" + returnVal;
                                  Nakaar = false;
                                  continue;
                              }
                          }
                          else
                          {
                              returnVal = helperString.substring(0, helperString.length() - 2);// remove
                              // extra
                              // comma
                              // from
                              // end
                              // of
                              // list
                              if (Nakaar == true)
                              {
                                  helperString = "1: \n" + returnVal + "\n\n2: \n" + returnVal + " \n";
                                  Nakaar = false;
                                  continue;
                              }
                          }
  
                          break;
  
                      }
  
                      else if (element.startsWith("-"))
                      {
                          if (hideMarkers == false)
                          {
                              helperString += element.substring(element.length() - 1, element.length()) + "\n";
                              continue;
                          }
                          else
                          {
                              helperString = helperString.substring(0, helperString.length() - 2) + "\n"; //remove terminal comma
                              continue;
                          }
                      }
  
                      else
                          helperString += element + ", ";
                  }
  
              } // end of while
              returnVal = EncodingUtil.convertSLPToDevanagari(returnVal);
              if(returnVal.trim().length() == 0)
              {
                  returnVal = "Error: " + EncodingUtil.convertSLPToDevanagari(strInSLP) + " is not a Vaid Pratyahara";
              }
          } // end of if
  
          else
          {
              returnVal = "Error: " + EncodingUtil.convertSLPToDevanagari(strInSLP) + " is not a Vaid Pratyahara";
          }
          
         // Log.logInfo("return_me == " + returnVal);
          return returnVal;
  
      }