Custom/Server Script to change filed value to Title Case on save

Hi,
Please help me with Custom/server Script to change filed value to Title Case on save, no matter user type in Uppercase or Lowercase.

Thanks in Advance.

37%20PM