code: public static String reverseDelimited(final String str, final char delimiter) {
          if (N.isNullOrEmpty(str)) {
              return str;
          }
  
          // could implement manually, but simple way is to reuse other,
          // probably slower, methods.
          final String[] strs = split(str, delimiter);
  
          N.reverse(strs);
  
          return join(strs, delimiter);
      }
docs: <p>
  Reverses a String that is delimited by a specific character.
  </p>
  
  <p>
  The Strings between the delimiters are not reversed. Thus
  java.lang.String becomes String.lang.java (if the delimiter is
  {@code '.'}).
  </p>
  
  <pre>
  N.reverseDelimited(null, *)      = null
  N.reverseDelimited("", *)        = ""
  N.reverseDelimited("a.b.c", 'x') = "a.b.c"
  N.reverseDelimited("a.b.c", ".") = "c.b.a"
  </pre>
  
  @param str
  the String to reverse, may be null
  @param delimiter
  the delimiter character to use
  @return the reversed String, {@code null} if null String input
  @since 2.0