case conversion

Results 1 to 2 of 2

Thread: case conversion

  1. #1
    Join Date
    Dec 1969

    Default case conversion

    i am having a text field in my web page. when i enter any data in the text box that data should be validated in the server side so that the data format should be in such a way that the first character should be in Upper case and the remaining values should be in lower case letter <BR><BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: case conversion

    strTextField = Trim(Request.Form("textField"))<BR><BR>if Len(strTextField) &#062; 1 then<BR> strTextField = UCase(Left(strTextField, 1)) & LCase(Right(strTextField, Len(strTextField)-1))<BR>end if<BR><BR>Craig.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts