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...


hai friend's ..
my question is
a[0]=I
a[1]=N
a[2]=D LIKE IT GO'S
i need output INDIA ,using simple string how will u do?
can any one tell really need full..

Answers were Sorted based on User's Feedback



hai friend's .. my question is a[0]=I a[1]=N a[2]=D LIKE IT GO'S i need output IND..

Answer / karthick

good ans ..same time instead of using
msgbox a(0)&a(1)&a(2)&a(3)&a(4)

why can't we use join function...i mean like this..

Dim myres,a(4)
a(0)="I"
a(1)="N"
a(2)="D"
a(3)="I"
a(4)="A"

myres=join(a)
msgbox myres

Is This Answer Correct ?    20 Yes 1 No

hai friend's .. my question is a[0]=I a[1]=N a[2]=D LIKE IT GO'S i need output IND..

Answer / manjunathareddy

Dim a(4)
a(0)="I"
a(1)="n"
a(2)="d"
a(3)="i"
a(4)="a"
Msgbox a(0)&a(1)&a(2)&a(3)&a(4)

Is This Answer Correct ?    8 Yes 2 No

hai friend's .. my question is a[0]=I a[1]=N a[2]=D LIKE IT GO'S i need output IND..

Answer / kishan

dim arr(4)

arr(0)="I"
arr(1)="N"
arr(2)="D"
arr(3)="I"
arr(4)="A"

msgbox join(arr)

(or)


str=""
for i=0 to ubound(arr)
str=str&arr(i)
next

msgbox str

Is This Answer Correct ?    2 Yes 0 No

hai friend's .. my question is a[0]=I a[1]=N a[2]=D LIKE IT GO'S i need output IND..

Answer / sunita

dim str1,a(4)

a(0)="I"
a(1)="N"
a(2)="D"
a(3)="I"
a(4)="A"

for i=0 to ubound(a)
str1=str1+a(i)
next

msgbox str1

May be this is another way out.....correct me if i m wrong.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More QTP Interview Questions

can any one tell me what is syntax error in line msgexist=Browser("title:=Gmail: Email.*").Page( "title:=Gmail: Email .*").WebElement(innertext=&msg).exist 'code ************** Call login("lal="," " ) wait(5) Call errormsg("Invalid email address. [?]" ) Function errormsg(msg) msgexist=Browser("title:=Gmail: Email.*").Page( "title:=Gmail: Email .*").WebElement(innertext=&msg).exist if msgexist then Reporter.ReportEvent micPass,"enter valid username or pwd ",msg else Reporter.ReportEvent micFail, "entered valid uname and pwd",msg end if End Function

5 Answers  


What are the advantages of QTP over WinRunner?

5 Answers   CTS,


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

6 Answers   Cap Gemini,


how will you handle the situation when object is not caputred during record?

0 Answers  


Error handling

3 Answers   Wipro,


How will you compare keyword and expert view?

0 Answers  


what is the Exact Meaning of Environment Variables?

2 Answers   Semantic Space,


How to make Non reusable actions into reusable action? is that feature available in QTP

2 Answers   Ordain Solutions,


what is framework and types of framework? Need of framework in automation? write folder strucuture of framework.

3 Answers   HealthAsyst,


can i compare two databases using QTP ?

0 Answers  


When you are running a batch test of 5 scripts and in 2nd script appln crashed, what hpns then?

4 Answers   BirlaSoft,


1) What is the diff Between GetRoproprty and Gettoproperty? 2)What is Redim?

5 Answers   STC,


Categories