943,846 Members | Top Members by Rank

Ad:
  • VB.NET Discussion Thread
  • Unsolved
  • Views: 403
  • VB.NET RSS
Feb 21st, 2009
0

query

Expand Post »
sir,

Can u please tell me how to make first letter capital and rest small in textbox
Similar Threads
Reputation Points: 10
Solved Threads: 0
Light Poster
arunasingh is offline Offline
39 posts
since Dec 2008
Feb 21st, 2009
0

Re: query

VB.NET Syntax (Toggle Plain Text)
  1. Dim Phrase As String = "this is a test"
  2. Dim TextArray As String() = Nothing
  3. Dim Word As String
  4. Dim NewString As String
  5. TextArray = Phrase.Split(" ")
  6. For Each Word In TextArray
  7. NewString = NewString & (Word.Substring(0, 1).ToUpper() & Word.Substring(1, Word.Length
  8. - 1).ToLower() & " ")
  9. Next Word
Or
See this link :
http://msdn.microsoft.com/en-us/library/aa332127.aspx
Last edited by Jx_Man; Feb 21st, 2009 at 10:54 am.
Reputation Points: 1182
Solved Threads: 392
Posting Sensei
Jx_Man is offline Offline
3,140 posts
since Nov 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in VB.NET Forum Timeline: Deserialize different types of objects from a NetworkStream
Next Thread in VB.NET Forum Timeline: report viewer





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC