SentenceCase
Converts a string to sentence case.
Syntax
-
SentenceCase(s)
-
s
is a string
-
Description
SentenceCase(s)
returns s
in sentence case, that is, it capitalises the first letter of each sentence. Sentence boundaries, however, are determined using a very primitive algorithm.
Examples
SentenceCase("how many dogs are there? i’d very much want to play with them.")
How many dogs are there? I’d very much want to play with them.