Question: What is the difference between "translate" and "replace"?
Answer: Replace replace every instence of character with character sting by the given charator of string. this work for entire word and pattern,. Translate replace the one charecte at a time.Translating the nth character match with the nth character with the replacemnt string .
Question:
What is the difference between "translate" and "replace"?
Answer:
Replace replace every instence of character with character sting by the given charator of string. this work for entire word and pattern,. Translate replace the one charecte at a time.Translating the nth character match with the nth character with the replacemnt string . Source: CoolInterview.com
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
There should not be any Spelling Mistakes.
There should not be any Gramatical Errors.
Answers must not contain any bad words.
Answers should not be the repeat of same answer, already approved.