code: public static String getLastElement(final String pSource, final String pDelimiter) {
          if (pDelimiter == null) {
              throw new IllegalArgumentException("delimiter == null");
          }
  
          if (StringUtil.isEmpty(pSource)) {
              return pSource;
          }
          int idx = pSource.lastIndexOf(pDelimiter);
          if (idx >= 0) {
              return pSource.substring(idx + 1);
          }
          return pSource;
      }
docs: Gets the last element of a {@code String} containing string elements
  delimited by a given delimiter.
  <i>NB - Straightforward implementation!</i>
  <p/>
  
  @param pSource    The source string.
  @param pDelimiter The delimiter used in the source string.
  @return The last string element.