Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. .NET (Core and Framework)
  4. Unicode character increment

Unicode character increment

Scheduled Pinned Locked Moved .NET (Core and Framework)
csharpquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    priyank_ldce
    wrote on last edited by
    #1

    Hi all, As with ascii character we can increment alphabet by increment ascii value of it (Like ch='H' and ch = ch + 1 gives me ch='I'). IS it pobbiel to do the same for Unicode character? I wan to increment Unicode character in VB.NET. Thanks in advance Priyank

    L 1 Reply Last reply
    0
    • P priyank_ldce

      Hi all, As with ascii character we can increment alphabet by increment ascii value of it (Like ch='H' and ch = ch + 1 gives me ch='I'). IS it pobbiel to do the same for Unicode character? I wan to increment Unicode character in VB.NET. Thanks in advance Priyank

      L Offline
      L Offline
      lmoelleb
      wrote on last edited by
      #2

      As both the letters found in the alphabet and the individual order of the characters is not a universal constant you can't universily say you can do this in Unicode nor ASCII. If the task is more specific to convert the characters a-z as typically defined in a US/UK alphabet, then yes - you can do it in both Unicode and ASCII. The first 127 character points in Unicode match the 127 characters of ASCII.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups