|
||||||
| C# Programming C# (pronounced C-sharp) is a new object oriented language from Microsoft and is derived from C and C++. It also borrows a lot of concepts from Java too including garbage collection. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||||
|
Not too hard and basically just what hooser said.
Code:
string upper = textBox1.Text.Substring(0,1).ToUpper(); string lower = textBox1.Text.Substring(1).ToLower(); string complete = String.Concat(upper, lower);
__________________
Void |
|
|||
|
Or, you could use the (ghast!) Microsoft.VisualBasic.Strings.StrConv function with VbStrConv.ProperCase. That'll capitalize every word in your string.
As Billy Hollis says, it was very nice of the VB community to let us use their new framework from other languages. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Windows XP Tricks & Tips!!!!..new ones. | pranky | Tutorials | 9 | 08-23-2008 03:22 PM |
| Java:Tutorial - Tic-Tac-Toe | John | Java Tutorials | 25 | 02-27-2008 06:41 PM |
| vB Weekly Stats Version 1.7 | Jordan | Community Projects | 51 | 02-11-2008 11:25 AM |
| get fast cash? | Deathcry | Business and Legal | 5 | 06-18-2007 09:39 AM |
| John | ........ | 223.00000 |
| dargueta | ........ | 168.00000 |
| Xav | ........ | 164.00000 |
| gaylo565 | ........ | 18.00000 |
| WingedPanther | ........ | 15.00000 |
| |pH| | ........ | 15.00000 |
| Johnnyboy | ........ | 3.00000 |
| navghost | ........ | 1.00000 |
Goal: 100,000 Posts
Complete: 66%