Reply
 
LinkBack Thread Tools Display Modes
Old 04-25-2011, 04:55 AM   #11 (permalink)
Senior Member
 
Join Date: May 2009
Location: Chennai, India
Posts: 157
nkarthick is on a distinguished road
Default

Hi,

Use this method to convert string value to TitleCase

Code:
Private Function ToTitleCase(ByVal value As String) As String

        'Culture Info Used here is English - United States (en -US)
        Dim textInfo As System.Globalization.TextInfo = New System.Globalization.CultureInfo("en-US", False).TextInfo

        Return textInfo.ToTitleCase(value)
End Function
Hope it helps.
__________________
Narayana Karthik
nkarthick is offline   Reply With Quote
Old 04-25-2011, 05:39 PM   #12 (permalink)
Member
 
Join Date: Apr 2011
Posts: 32
engcosta is on a distinguished road
Default

thank you very much
engcosta is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 09:34 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.0
D-Tools, Inc.