ⓘ This web page is about the old AlgoSim 2 software. Perhaps you are looking for the new Algosim 3 application?
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."