docs: public static String getFirstElement(final String pSource, final String pDelimiter) {
          if (pDelimiter == null) {
              throw new IllegalArgumentException("delimiter == null");
          }
  
          if (StringUtil.isEmpty(pSource)) {
              return pSource;
          }
  
          int idx = pSource.indexOf(pDelimiter);
          if (idx >= 0) {
              return pSource.substring(0, idx);
          }
          return pSource;
      }