Convert a String to Proper Case in ASP
Category:
ASP, HTML and XMLType:
SnippetsDifficulty:
BeginningAuthor:
AnonymousVersion Compatibility: ASP
More information:
Because ASP does not include VB's StrConv function, you have to write your own code to convert a string to proper case. This function does that. It is based on the more detailed example at http://www.asp101.com/samples/pcase.asp. If you want more information on the logic of this example, consult that page.
Instructions: Copy the declarations and code below and paste directly into your VB project.
Declarations: