code: private static String stripStartingSlash(String s) {
          if (s != null && s.startsWith("/")) {
              s = s.substring(1, s.length());
          }
          return s;
      }
docs: Strip starting slash from beginning of string.