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 to extract "information" from "ccccccccaaabbbbaaaabbinformationabcaaaaaabbbbbbbccbb" in tcl using a single command?
Set ip address as 10.30.20.1 write a script to replace the 30 with 40 ?
{Anu Anudeep Anukumar Amar Amaravathi Aruna} is their any possibility to find the letter "a"in the given list? if yes how?
How increment a character? For example, I give 'a' and I should get 'b'.
if i give in numbers output should be in characters example : set a 23 o/p twentythree
Problems with utf-8 between Mac and PC
how to remote log in to a system A to system B ,execute commands in it and collect the log in system A from B using TCL script??
1 Answers Global Edge, Sandvine,
how to write a startup script in winrunner
write a program to the given ip is valid private address or not(192.168.1.1)?
How do you check whether a string is palindrome or not using TCL script?
WHAT IS TCL?
Which scripting language is better among TCL Perl and Python and why?