Challenge: How do you remove the first and third occurrences of $ from a given string? (Code it and Upvote too) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Challenge: How do you remove the first and third occurrences of $ from a given string? (Code it and Upvote too)

Given string having $ symbols: " foo bar foo $ bar $ foo bar $ "

15th Oct 2017, 7:14 AM
Anant Arun
Anant Arun - avatar
1 Answer
15th Oct 2017, 7:52 AM
Shinjini Ghosh