[Overview][Constants][Types][Procedures and functions] |
Pretty-Print a string: make lowercase and capitalize first letters of words
Source position: strutils.pp line 149
function AnsiProperCase( |
const S: String; |
const WordDelims: TSysCharSet |
):String; |
S |
|
String to pretty-print |
WordDelims |
|
Characters to use as word delimiters |
Resulting lowercase string with first letters capitalized
AnsiProperCaseconverts Sto an all lowercase string, but capitalizes the first letter of every word in the string, and returns the resulting string. When searching for words, the characters in WordDelimitersare used to determine the boundaries of words. The constant StdWordDelimscan be used for this.