21.07.2012, 16:42
You need to split the string into individual names (splitting it by the _ in this case) and then ensure that only the first letter of each word (var[0]) is uppercase, and you'd do this by checking it against an array of valid uppercase characters.