Char Function

Results 1 to 3 of 3

Thread: Char Function

  1. #1
    Join Date
    Dec 1969
    Posts
    100

    Default Char Function

    Hi, <BR> Is there any function in ASP to check for the character fields,like IsNumeric for numeric fields.<BR><BR>Any help appreciated,<BR>Regards,<BR>Vikki

  2. #2
    Nathen Grass Guest

    Default RE: Char Function

    You can try &#039Not IsNumeric(x)&#039...This will return true for any character that is not numeric or you can check the ASCII value of the character and if it falls between 65 and 122 that means is an uppercase or lowercase letter.<BR><BR>i.e.<BR>If ASC(x)&#062;=65 and ASC(x)&#060;=122 then<BR>&nbsp;&nbsp;&nbsp;&#039character is in A-Z or a-z range<BR>End If

  3. #3
    Riva Guest

    Default This may be a better option

    Check out the 4guys article:<BR>http://www.4guysfromrolla.com/webtech/090799-1.shtml<BR><BR>Hope that helps :)

Posting Permissions

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