added function 4 to flowchart titleCaseString .