Character conversion

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default Character conversion


    Can anyone tell me how to perform the following VB
    functions in C#:

    Chr(13) ==> Carriage Return escape sequence
    Asc("A") ==> ASCII value of the "A" character

    Thanks!




    J. Ptak Guest

  2. Similar Questions and Discussions

    1. Extract Character By Character in PDF
      Hi I have requirement to read the content of the PDF file. I achieved it using Adobe SDK and VB.NET. I used the GetJsObject, getPageNthWord and...
    2. Character conversion to entities in XML
      Our web team works with international translations - usually provided in Word format. We then paste these translations into XML templates....
    3. InDesign ME Character Problem! Character-Change by Printing or saving *.PS!
      Hi everybody! I have some problems with ME Version. When i want to print a page with FARSI-Text in it, he changes one character! on screen he...
    4. Chinese Character Conversion???
      Hi, I've got an english site designed that I need to translate into Chinese. I've got the Chinese wording to work with but I can't figure out...
    5. [PHP] Mp3 Conversion, using PHP
      I'm wondering if there's any crazy dude out there that would like to join me in making a class for PHP to convert Mp3's to Mp3Pro. Have you...
  3. #2

    Default Re: Character conversion

    Asc("A") ==> (char)"A"

    --
    I hope this helps,
    Steve C. Orr, MCSD
    [url]http://Steve.Orr.net[/url]


    "J. Ptak" <ptakja@NOSPAM.corning.com> wrote in message
    news:0e1901c34667$6acbe8f0$a001280a@phx.gbl...
    >
    > Can anyone tell me how to perform the following VB
    > functions in C#:
    >
    > Chr(13) ==> Carriage Return escape sequence
    > Asc("A") ==> ASCII value of the "A" character
    >
    > Thanks!
    >
    >
    >
    >

    Steve C. Orr, MCSD Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139