code: public static String replaceToken(final String original, final String token, final String replacement) {
          final StringBuilder tok = new StringBuilder(TOKEN);
          tok.append(token).append(TOKEN);
  
          final String toReplace = replaceCRToken(original);
  
          return StringUtil.replace(tok.toString(), replacement, toReplace);
      }
docs: Replaces the token, surrounded by % within a string with new value.
  Also replaces any %CR% tokens with the newline character.
  
  @return the <code>original</code> string with the <code>%token%</code>
  (if it exists) replaced with the <code>replacement</code>
  string. If <code>original</code> or <code>%token%</code> are
  null, then returns the <code>original</code> string.