str_search : Required, Chars to be searched str_replace: Required, Chars to be replaced ( mapped to searched chars ) str_delete : Optional, Chars to be replaced with None ( deleted in final string )
Length of str_search should be equal to length of str_replace
the method maketrans() returns a dictionary ( str_update ) with chars mapped for search and replace and this can be used for translate().