How to extract "information" from "ccccccccaaabbbbaaaabbinformationabcaaaaaabbbbbbbccbb" in tcl using a single command?
Answers were Sorted based on User's Feedback
Answer / ch.venkatesh
set var "ccccccccaaabbbbaaaabbinformationabcaaaaaaabbbbbbbccbb"
#set var1 [regexp "information" $var a]
#puts $a
puts [string trim $var "abc"]
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / indu sharma
set a "ccccccccaaabbbbaaaabbinformationabcaaaaaabbbbbbbccbb"
set b [strip $a "cba"]
puts $b
| Is This Answer Correct ? | 0 Yes | 12 No |
How increment a character? For example, I give 'a' and I should get 'b'.
{Anu Anudeep Anukumar Amar Amaravathi Aruna} is their any possibility to find the letter "a"in the given list? if yes how?
how to increment eacl element in a list ? eg: incrlist {1 2 3} =>2 3 4
Hi all, Is there any certification exams available for TCL and Perl. If so please let me know, my mailid is vpbharathi@gmail.com. Thanks in advance, Bharathi.P
Where can find the sample tcl programs?
how to write a startup script in winrunner
how to write the startup scripts in winrunner? can any body explain with example code?
How to get the next ip for given ip ex: 10.10.10.1 -> 10.10.10.2 ex: 10.10.10.255 -> 10.10.11.0
How to extract "information" from "ccccccccaaabbbbaaaabbinformationabcaaaaaabbbbbbbccbb" in tcl using a single command?
What does Tcl stand for?
How TCL works
How do you check whether a string is palindrome or not using TCL script?