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 get the particular chr in an array list the question
is ....i have an array like this
ABCD
EBCF
GBCH
IBCJ
HERE I NET TO GET ONLY "BC" FROM ALL HOW TO GET IT
HELP ME ANY ONE

THANKS

Answers were Sorted based on User's Feedback



how to get the particular chr in an array list the question is ....i have an array like this ABCD..

Answer / gabbar

a="ABCD EBCF GBCH IBCJ"
b=Split(a," ")
For i=LBound(b) to UBound(b)
msgbox "count: "&i&" "& mid(b(i),2,2)
Next

Is This Answer Correct ?    4 Yes 0 No

how to get the particular chr in an array list the question is ....i have an array like this ABCD..

Answer / koteswar

str = " ABCD EBCF GBCH IBCJ HERE I NET"
n = split(str, "BC")
cnt = ubound (n)
msgbox cnt

Is This Answer Correct ?    2 Yes 1 No

how to get the particular chr in an array list the question is ....i have an array like this ABCD..

Answer / snegha

ar2=Array("ABCD","EBCF","GBCH","IBCJ")


arlen=UBound(ar2)-lbound(ar2)+1 'Finding array length

For p= 0 to arlen-1
msgbox Mid(ar2(p),2,3)
Next

Is This Answer Correct ?    1 Yes 0 No

how to get the particular chr in an array list the question is ....i have an array like this ABCD..

Answer / dinesh1433

Dim AR2,i

AR2=Array("ABCD","EBCF","GBCH","IBCJ")

For i=0 to ubound(AR2)
If (Instr(AR2(i),"BC")<>0) Then
msgbox "BC found in Element :"&AR2(i)
End If

Next

Is This Answer Correct ?    2 Yes 1 No

how to get the particular chr in an array list the question is ....i have an array like this ABCD..

Answer / rajesh

hai.. Koteswar
i need to say thanks for your quick reply ..
but my question is how to get BC IN A ARRAY means i need to
display it.....,BUT YOU ANS THAT HOW MANY BC ARE THERE IN
THE ARRAY LIST .....IF POSSIBLE PLEASE GIVE A COMMANDS AGAIN...

Is This Answer Correct ?    0 Yes 0 No

how to get the particular chr in an array list the question is ....i have an array like this ABCD..

Answer / pushkar1206

This will print BC 4 times.

a="ABCD EBCF GBCH IBCJ"
b=Split(a," ")
For i=0 to ubound(b)
msgbox mid(b(i),2,2)
Next

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

What is a checkpoint? How many check points are there in qtp?

0 Answers  


WHAT IS ETL TESTING.......

2 Answers  


after initiating one project for testing, when exacltly QTP tester role starts?

0 Answers  


How to handle the exceptions using recovery scenario manager in QTP?

1 Answers   Crea,


In QTP 8.2 there are lot of check points is this same in latest version QTP 9.5 ?

2 Answers  


hi friends i was tried to connect qtp with oracle database using provider.i got a error.so anyone can help me out by correct script

2 Answers  


Can abody explain me Send keys concept

1 Answers   Cap Gemini,


I have a WebEdit Object.It is added in object repository.It has two properties Name and Index.In the next release the Name Property is same but the index property is changed.when i run the script will the script Pass or Fail

9 Answers   ADP,


Plz someone tell me about user interface testing and backend testing and hw did u use it in ur project.plz give a detail answer i need to explain it to the interviewer. plzzzzzzzzz guys its urgent

2 Answers  


What is the current version of QTP and now it is the product of Mercury or HP

12 Answers   TCS,


can any one explain with an example how to test Web application using qtp

3 Answers  


What are benefits of qtp?

0 Answers  


Categories