Is there a way to replace a character with 2-digit number? | Sololearn: Learn to code for FREE!

+1

Is there a way to replace a character with 2-digit number?

Is there a way to replace a character with 2 digit number of a string? For Eg:- if one of the character in a string is 'A', can I replace it with "10"? Any help would be highly appreciated. Thank you!

4/29/2018 2:58:21 AM

Anu Chhetri

1 Answer

New Answer

0

Thank you. I think I can run my code now.