Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How to extract "information" from "ccccccccaaabbbbaaaabbinformationabcaaaaaabbbbbbbccbb" in tcl using a single command?

Answers were Sorted based on User's Feedback



How to extract "information" from "ccccccccaaabbbbaaaabbinformationabcaaaaaabbbbbbbcc..

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

How to extract "information" from "ccccccccaaabbbbaaaabbinformationabcaaaaaabbbbbbbcc..

Answer / indu sharma

set a "ccccccccaaabbbbaaaabbinformationabcaaaaaabbbbbbbccbb"
set b [strip $a "cba"]
puts $b

Is This Answer Correct ?    0 Yes 12 No

Post New Answer

More Tcl Interview Questions

How do you find the length of a string without using string length command in TCL??

6 Answers   Hexaware,


Where can find the sample tcl programs?

3 Answers  


Problems with utf-8 between Mac and PC

1 Answers  


{Anu Anudeep Anukumar Amar Amaravathi Aruna} is their any possibility to find the letter "a"in the given list? if yes how?

3 Answers   Cisco, HCL,


WHAT IS TCL?

4 Answers   Airtel,


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

1 Answers  


if i give in numbers output should be in characters example : set a 23 o/p twentythree

1 Answers   Alcatel,


How TCL works

1 Answers   Cisco,


how to increment eacl element in a list ? eg: incrlist {1 2 3} =>2 3 4

9 Answers   Honeywell,


How do you check whether a string is palindrome or not using TCL script?

10 Answers  


how to write a startup script in winrunner

0 Answers   Power Grid, Pyxis,


Write a program to increment IP address to +10 and verify it is correct ip or not ?? example my ip is 172.122.132.143 increment this ip to +10 and verify it is valid ip or not

1 Answers   Alcatel,


Categories