Mecha CMS

To::sentence()

Convert string into Sentence case..

2.0.0Static

To::sentence(string $in, string $tail = '.');

Example:

$A = To::sentence('foo bar baz', '?');

Result:

$A = 'Foo bar baz?';