Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Convert Names to Proper CaseContent of Convert Names to Proper Case.vbsMD5 Hash: A112EBC65A7598E7C71DB4E736473BEA |
||
strFirstName = "kEn"
strLastName = "MYEr" intFirstName = Len(strFirstName) strFirstLetter = UCase(Left(strFirstName, 1)) strRemainingLetters = LCase(Right(strFirstName, intFirstName - 1)) strFirstName = strFirstLetter & strRemainingLetters intLastName = Len(strLastName) strFirstLetter = UCase(Left(strLastName, 1)) strRemainingLetters = LCase(Right(strLastName, intLastName - 1)) strLastName = strFirstLetter & strRemainingLetters Wscript.Echo strFirstName, strLastName | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |