We use title() function to do this like:s="This is the programming language"s.title()// it will return "This Is The Programming Language"
like:
s="This is the programming language"
s.title()
// it will return "This Is The Programming Language"