Problem 2216. Given an input string, generate a variable name out of it
28.28% Correct | 71.72% Incorrect
Last Solution submitted on Oct 30, 2022
Asif Newaz on 30 Dec 2019
ur test suites gave me headache..
u jumbled upper and lower case
Rafael S.T. Vieira on 5 Sep 2020
When designing a program, Swapnali, it is important to follow a pattern, or else you may endup with spaghetti code (it will have so many rules for so many cases that no one will know what it does or why). This means that If words start with an uppercase letter, then all words must start with an uppercase letter. If the first letter of a phrase is in lowercase, then all first letters from all phrases should be in lowercase.
ChrisR on 2 Apr 2022
The pattern depends on the "special character".
Solution CommentsShow comments
Problem Recent Solvers27
All your base are belong to us
More from this Author25
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!