TCL (Tool Command Language) Question:
Download Questions PDF

How increment a character? For example, I give a and I should get b?


set character "a"
set incremented_char [format %c [expr {[scan $character
puts "Character before incrementing '$character' : After
incrementing '$incremented_char'"

Download TCL Interview Questions And Answers PDF

Previous QuestionNext Question
How to run a package in tcl?How to extract "information" from "ccccccccaaabbbbaaaabbinformationabcaaaaaabbbbbbbccbb" in tcl using a single command?