Is there a way to replace a character with 2-digit number? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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!

29th Apr 2018, 2:58 AM
Anu Chhetri
Anu Chhetri - avatar
1 Answer
0
Thank you. I think I can run my code now.
29th Apr 2018, 3:09 AM
Anu Chhetri
Anu Chhetri - avatar