How increment a character? For example, I give a and I should get b?
Submitted by: Administratorset character "a"
set incremented_char [format %c [expr {[scan $character
%c]+1}]]
puts "Character before incrementing '$character' : After
incrementing '$incremented_char'"
Submitted by: Administrator
set incremented_char [format %c [expr {[scan $character
%c]+1}]]
puts "Character before incrementing '$character' : After
incrementing '$incremented_char'"
Submitted by: Administrator
Read Online TCL (Tool Command Language) Job Interview Questions And Answers
Top TCL (Tool Command Language) Questions
☺ | How to check whether a string is palindrome or not using TCL script? |
☺ | What is TCL? |
☺ | Where can we find the sample tcl programs? |
☺ | How do you find the length of a string without using string length command in TCL? |
☺ | How increment a character? For example, I give a and I should get b? |
Top Coding/Programming Categories
☺ | Python Interview Questions. |
☺ | OOP Interview Questions. |
☺ | Software engineering Interview Questions. |
☺ | PHP Interview Questions. |
☺ | VBA (Visual Basic for Applications) Interview Questions. |