- #1
- 2,168
- 193
Let us suppose I have a string in this form,
string = 'CıCCkCnow CwCho CyCou CaCre but CwChat CaCm CıC'
Now I won't to take each word between 'C' and convert it into an upper case letter. For example, the above string should turn into
new_string = 'I know Who You Are but What Am I'
what kind of algorithm is best for this job ? I have come up with something but it seems really long and inefficient. Any ideas ?
string = 'CıCCkCnow CwCho CyCou CaCre but CwChat CaCm CıC'
Now I won't to take each word between 'C' and convert it into an upper case letter. For example, the above string should turn into
new_string = 'I know Who You Are but What Am I'
what kind of algorithm is best for this job ? I have come up with something but it seems really long and inefficient. Any ideas ?
Last edited by a moderator: