I kinda like this one, as a "proper" Proper function will convert the first character or a word to uppercase and all other characters in the word to lowercase.

Code:

fnProper("hElLo ChRiS")


Function fnProper($String)
$String = Split($String)
For $i = 0 to Ubound($String)
$String[$i] = UCase(Left($String[$i],1)) + LCase(SubStr($String[$i],2))
Next
$fnProper = Join($String)
EndFunction