How to covert a String to an integer?

Answer Posted / bfakruddin

dim str,num
str="Hello"
num=100

cstr=cint(str) ' It converts string into integer
msgbox cstr

cint=cstr(num) ' It converts Integer into string
msgbox cint

Is This Answer Correct ?    8 Yes 14 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Any body have QTP 9.5 licence key. please provide me at madhukar_dec30@yahoo.co.in

1608


Hi All, How to Compare two strings character by character in QTP

963


What is difference between Recording time object identification and Run time (Execution) time.

1012


In QTP can we feed the out of one browser(internet explorer) as an input to the another browser(mozilla firefox)? If yes explain how to do it with an example.

1540


Please help me by providing the License key for QTP 9.2, at guru_aarya@yahoo.co.in Best Regards Gururaj.B

2919






What are the types of object repository?

589


Suggest and Define a solution for an application whose objects are not recognized by UFT?

687


I recorded a Web App with a Oracle backend using QTP 9.5 and for some reason the scripts don't play back> What am I missing at this point. I recorded the same Apps under Sybase and they work great. This is Oracle 10g. Why won't my scripts play back.

1524


How to find the length of the string in qtp?

586


What is the default add-ins in qtp?

564


Where we use data driver in qtp?

617


HI I want to know the detials of QTP certifications such as syllabus, study Materil etc. Can any provide me all these details?? my mail ID is krishnuvk@yahoo.com

1547


What is the difference between local and shared object repository in qtp?

570


What is test object?

714


Can anyone pls tell me how to do action parameterization (input and output parameters) with respect to login window and insert order of flight reservation window in detail( pls give a clear step by step explanation with example) anyone please. Will be very thankful to u

1386