Closed maheshmnj closed 1 year ago
Describe the bug The logic to capitalize a string is wrong
Actual Results
String x= "hello"; x.capitalize(); /// returnsHello
Expected Results
String x= "hEllo"; x.capitalize(); /// returns Hello
Additional context: This can be seen in the app when adding a synonym if user enters "hEllO" on submitting "HEllO" is submitted
fixed in https://github.com/maheshmnj/vocabhub/commit/bab033a7207ab2cf83c14cc6905cb9ec0bc749d5
Describe the bug The logic to capitalize a string is wrong
Actual Results
Expected Results
Additional context: This can be seen in the app when adding a synonym if user enters "hEllO" on submitting "HEllO" is submitted