This is an extremely basic ASP work that will underwrite the first letter of the info string. Some time client do enters his/her name as without capatalising first letter of the name. So this capacity can deal with whether an utilization enters name as "david" or "DAVID" and this capacity will make it more coherent like "David".
view sourceprint?
01.
'*******************************************************
02.
'* MYCPLUS Sample Code - http://www.mycplus.com ; *
03.
'*
04.
'* This code is made accessible as a support of our *
05.
'* guests and is given entirely to the *
06.
'* reason for delineation. *
07.
'*
08.
'* Please guide all request to saqib at mycplus.com *
09.
'*******************************************************
10.
11.
Capacity InitCap(sStr)
12.
InitCap = UCase(Left(sStr,1)) and LCase(Right(sStr,Len(sStr)- 1))
13.
End Function