code: public static final String prefix(String pattern)
      {
          int idx = CharSequences.lastIndexOf(pattern, BeanHelper::separator);
          if (idx != -1)
          {
              return pattern.substring(0, idx);
          }
          else
          {
              return "";
          }
      }
docs: Return string before last reparator
  @param pattern
  @return