Cody

Problem 35. Quote Doubler

Created by Cody Team in Community

Given a string s1, find all occurrences of the single quote character and replace them with two occurrences of the single quote character.

If there are n such occurrences in s1, then s2 will be n characters longer than s1.

Solution Stats

56.36% Correct | 43.64% Incorrect
Last solution submitted on Mar 15, 2019

Problem Comments

Solution Comments

Recent Solvers1397

Suggested Problems

More from this Author95

Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!