Returns a new string produced from source, in which all occurences of characters specified in chars are replaced with the str.

Tip:

You may call this function in a method-like style:

source.replace(chars, str)
Examples:
"A+B-C=D".replaceChars("+-=", "_")
returns
"A_B_C_D"