cap sentences

cap sentences


c Index Level center
Syntax .cap sentences
.cs
Category Output Processor
Type Command
Description capitalizes the first letter of each sentence or attribute.

The beginning of a sentence is considered to be the first letter of each attribute.  The first letter after (". "), ("? "), or ("! ") is also considered the beginning of a sentence, and is therefore capitalized.

If the first word of a sentence is already capitalized, it remains capitalized.

Sentences are capitalized until an ".xcap sentences" command is encountered.
Options
See Also OP commands cs Output Processor
Example .cap sentences
this is the first sentence.  this is the second. And, this is the third.

The output from this document is:

"This is the first sentence.  This is the second. And, this is the third."
Warnings
Compatibility D3 7.0 AP
c Index Level center