@Nonnull
  public static String replaceMultipleAsString (@Nullable final String sInputString,
                                                @Nonnull final char [] aSearchChars,
                                                final char cReplacementChar)
  {
    ValueEnforcer.notNull (aSearchChars, "SearchChars");

    if (hasNoText (sInputString))
      return "";

    final StringBuilder aSB = new StringBuilder (sInputString.length ());
    replaceMultipleTo (sInputString, aSearchChars, cReplacementChar, aSB);
    return aSB.toString ();
  }
@ Nonnull public static String replaceMultipleAsString ( @ Nullable final String sInputString , @ Nonnull final char [ ] aSearchChars , final char cReplacementChar ) { ValueEnforcer . notNull ( aSearchChars , "SearchChars" ) ; if ( hasNoText ( sInputString ) ) return "" ; final StringBuilder aSB = new StringBuilder ( sInputString . length ( ) ) ; replaceMultipleTo ( sInputString , aSearchChars , cReplacementChar , aSB ) ; return aSB . toString ( ) ; }
Optimized replace method that replaces a set of characters with another
character. This method was created for efficient unsafe character
replacements!

@param sInputString
The input string.
@param aSearchChars
The characters to replace.
@param cReplacementChar
The new char to be used instead of the search chars.
@return The replaced version of the string or an empty char array if the
input string was <code>null</code>.
@since 8.6.3