String manipulation key words | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

String manipulation key words

S.lower() : returns lower case of s S.title (): return s with first letter of every word capitalise S.splitlines(): returns a list by splitting the string on any newline s[:5] : returns first 5 characters of Sting s

31st Aug 2022, 11:11 AM
Surendra Upadhyay
Surendra Upadhyay - avatar
1 Answer
+ 2
what is your query ?
31st Aug 2022, 11:33 AM
Davinder Kumar
Davinder Kumar - avatar