Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Jun 2002
    Posts
    156
    Thanks
    0
    Thanked 0 Times in 0 Posts

    ANSI character code

    what is the value of
    ANSI character code
    chr(1)
    chr(12)

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Posts
    156
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by ebco
    what is the value of
    ANSI character code
    chr(1)
    chr(12)
    can enyone give me the exact replacement

    replace(replace(Trim(varname),chr(1),""),chr(12),"")

  • #3
    Senior Coder
    Join Date
    Nov 2002
    Location
    North-East, UK
    Posts
    1,265
    Thanks
    0
    Thanked 0 Times in 0 Posts
    1 & 12 are not proper values.

    If you are after ASCII codes then look here
    http://www.w3schools.com/tags/ref_ascii.asp
    http://www.w3schools.com/tags/ref_entities.asp

    e.g.
    A = Chr(65)


  •  

    Posting Permissions

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