How do I humanize a string? Based on the following criteria:
- Deletes leading underscores, if any.
- Replaces underscores with spaces, if any.
- Capitalizes the first word.
For example:
this is a test -> This is a test
foo Bar Baz -> Foo bar baz
foo_bar -> Foo bar
foo_bar_baz -> Foo bar baz
foo-bar -> Foo-bar
fooBarBaz -> FooBarBaz