?
Solved

Convert name to proper case

Posted on 2006-10-23
6
Medium Priority
?
201 Views
Last Modified: 2008-03-17
I need to convert a name to Proper Case which has been entered on a web page.  I am using VB.NET. Any ideas?
0
Comment
Question by:thespiceman
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
6 Comments
 
LVL 6

Expert Comment

by:Roopesh_7
ID: 17792894
which case actuly u needed becouse different javascript string  function are there touppercase() tolowercase() to convert the case.....tell me you requirment specifically....
0
 

Author Comment

by:thespiceman
ID: 17797135
I need to check if a name is all lowercase or uppercase first.  That's easy.  If it is, then I need to convert it to Proper Case.  e.g. TIM SMITH to Tim Smith.  
0
 

Author Comment

by:thespiceman
ID: 17797317
Got it figured out:

Private Function ProperCase(ByVal strValue As String) As String
        Try
            ProperCase = StrConv(strValue, VbStrConv.ProperCase)
        Catch ex As System.Exception
           'Error hadler goes here
        End Try
    End Function
0
 

Author Comment

by:thespiceman
ID: 17797326
Please close this question
0
 
LVL 1

Accepted Solution

by:
kodiakbear earned 0 total points
ID: 17828792
Closed, 500 points refunded.
kb
Experts Exchange Moderator
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In an ASP.NET application, I faced some technical problems. In this article, I list them out and show the solutions that I found.  I hope it will be useful. Problem: After closing a pop-up window, the parent page should be refreshed automaticall…
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question