public static int getIndentationLevel(String wikiString)
  {
    int characterPosition = wikiString.indexOf('1');
    //if (characterPosition < 3) return 0;
    for (int i=0; i<validPositions.length; i++)
    {
      if (characterPosition==validPositions[i])
      {
        if (noCharactersPrecedeItemCharacter(wikiString,i)) return i+1;
      }
    }
    characterPosition = wikiString.indexOf('*');
    //if (characterPosition < 3) return 0;
    for (int i=0; i<validPositions.length; i++)
    {
      if (characterPosition==validPositions[i])
      {
        if (noCharactersPrecedeItemCharacter(wikiString,i)) return i+1;
      }
    }
    return 0;
  }