Hi i am trying to increment a char in vb.net, eg:
Dim letter As Char = “a”c. and i want to make it b, and so on. how can i do this?
Hi i am trying to increment a char in vb.net, eg: Dim letter As
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You could get the ascii code, increment, and convert back to Char:
The Unicode version of this is:
EDIT:
As Glen pointed out, you need to be careful if you are trying to increment “z”c