Transforms a string
- 'myString'
- 'MyString'
- 'my_string'
- 'MY STRING'
- 'my string'
- 'My string'
- 'My String'
Into a Sentence case (capitalise first letter)
import { sentenceCase } from '@adso-ts/sentence-case';
const sentenceCased = sentenceCase(string); // result: My string