Jump to content

Making the first letter of every word cappital and the rest lower.


Recommended Posts

Hello,

 

Im looking to feed a string to a function which will take every word in that string, make the first letter of each word capital, and the rest lowercase.

 

EG if fead SOME TEST it would return Some Test

if fead some test it would return Some Test.

 

However im not sure how to go about this.  Can anyone offer some help please?

 

Many Thanks

 

 

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.