public static string Proper(string cString) { //Create the StringBuilder StringBuilder sb = new StringBuilder(cString); int i,j = 0 ; int nLength = cString.Length ; for ( i = 0 ; i < nLength; i++) { //look for a blank space and once found make the next character to uppercase if ((i== 0) || (char.IsWhiteSpace(cString[i]))) { //Handle the first character differently if( i==0 ) {j=i;} else {j=i+1;} //Make the next character uppercase and update the stringBuilder sb.Remove(j, 1); sb.Insert(j, Char.ToUpper(cString[j])); } } return sb.ToString(); }If you haven't already I recomend checking the Visual Foxpro Toolkit for .NET (http://foxcentral.net/microsoft/VFPToolkitNET.htm).