UNKNOWN '************************************** ' Name: ProperCase ' Description:If you've used ASP for a w ' hile you'll notice that VBScript doesn't ' support StrConv so you can't proper case ' your code. Here is small function to inc ' lude in your ASP that will do that for y ' ou. ' By: Raine Lightner ' ' ' Inputs:sString, your input ' ' Returns:Your formatted string. ' 'Assumes:None ' 'Side Effects:None 'This code is copyrighted and has limite ' d warranties. 'Please see http://www.Planet-Source-Cod ' e.com/xq/ASP/txtCodeId.6009/lngWId.4/qx/ ' vb/scripts/ShowCode.htm 'for details. '************************************** Function ProperCase(sString) Dim lTemp Dim sTemp, sTemp2 Dim x sString = LCase(sString) If Len(sString) Then sTemp = Split(sString, " ") lTemp = UBound(sTemp) For x = 0 To lTemp sTemp2 = sTemp2 & UCase(Left(sTemp(x), 1)) & Mid(sTemp(x), 2) & " " Next ProperCase = trim(sTemp2) Else ProperCase = sString End If End Function