AlgoSim
Homepage | Screenshots | Gallery of Visualisation | User's Guide | Function Reference | Download | FAQ | Support | Bugs and Solutions | Donate

Reference: toSentenceCase

toSentenceCase(str) returns the string str where every character is upper-case if and only if it is the first character of a sentence.

Example:

toSentenceCase("this is a brief text. a very brief text, actually.") = "This is a brief text. A very brief text, actually."