ProperCase

Applies initial capitals formatting to the text: the first letter of every word begins with a capital letter.

Values

This property can take one of the following values:

  • true. Formats the text using initial capitals.
  • false. Keeps the existing formatting of the text.
Example

var afile;
afile = CRM.GetBlock('file');
afile.FileName = 'general.htm';
afile.ProperCase = true;
CRM.AddContent(afile.Execute());
Response.Write(CRM.GetPage());

Formats text in the general.htm file using initial capitals.