python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
Improving Code: Capitalizing the first and third letter of a string
This is the first time I am learning python. I have had two C programming classes during my undergraduate days (many years back). I usually understand basic algorithms, but struggle to write codes out...
aaoleeloo
Votes: 0
Answers: 1
Why do we need to check string length larger than 0?
I got this example from CS50. I know that we need to check "s == NULL" in case there is no memory in the RAM. But, I am not sure why do we need to check the string length of t before capital...
Consxious
Votes: 0
Answers: 3
Javascript Capitalize first letter of each word ignore Contractions
I am trying to Capitalize the first letter of each word in a string. I found similar questions online but none seem to answer my question of ignoring Contractions like can't, won't, wasn't.
This snipp...
Shayne
Votes: 0
Answers: 3
Count the capitals in the word javascript
) I am trying to solve one problem with this statement :
Write a function called howManyCaps which counts the capitals in the word,it then returns a sentence saying how which letters are capital and h...
Markitos
Votes: 0
Answers: 4