TextCaseConvertion - Convert text to upper-case, lower-case and camel-case

It's a simple program that can convert a string to lower-case (e.g. "test case"), upper-case (e.g. "TEST CASE") or camel-case (e.g. "Test Case")

Download: TextCaseConvertion_20100930.zip

Instructions:
Just run the .exe file from the "bin" subfolder, enter text line to convert and select respective action for convertion to upper-case, lower-case and camel-case

Requirements: you must have .NET runtime installed (can get it from Windows Update or from Microsoft Downloads site)

Source code:

Source code (VB.net) is in the main folder.
Convertion to upper-case is done with VB's "UCase" function and lower-case convertion with "LCase" one. Camel-case convertion is done with the following function:

 Public Function CamelCase(ByRef thePhrase As String) As String
  Dim chars As Char() = thePhrase.ToCharArray()
  Dim i As Integer
  Dim result As String = ""
  Dim inWord As Boolean = False
  For i = 0 To chars.Length - 1
   Dim c As Char = chars(i)
   If inWord Then
    result &= LCase(c)
   Else
    result &= UCase(c)
   End If
   inWord = (c <> " ") 'must do at end of loop so that it doesn't affect the 1st character of the string
  Next i
  Return result
 End Function

(C)opyright 2003-2010 - Zoomicon / George Birbilis
Free to use / give due credit