How increment a character? For example, I give 'a' and I
should get 'b'.
Answer Posted / raja
set chr "a"
set asval [scan $chr %c]
puts [format %c [expr $asval +1]
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
No New Questions to Answer in this Category !! You can
Post New Questions
Answer Questions in Different Category