What is the return type of Instr and Strcmp?

Answers were Sorted based on User's Feedback



What is the return type of Instr and Strcmp?..

Answer / guest

Instr ? integer (Numeric position)
Strcmp - integer
( if both the string are equal they result = 0)
Strcmp (Str1, Str2, Comparetype)
Comparing mode = 0 ? Binary Comparing
1 ? Textual Comparing

Is This Answer Correct ?    5 Yes 0 No

What is the return type of Instr and Strcmp?..

Answer / cherran

?instr(1,"cherralathan","t")
9
?strcomp("aaa","aaa")
0
?strcomp("bbb","ccc")
-1
?strcomp("ccc","bbb")
1

Is This Answer Correct ?    6 Yes 2 No

What is the return type of Instr and Strcmp?..

Answer / khadeer.k

for instr return type is int;
for strcmp return type is void;

Is This Answer Correct ?    4 Yes 4 No

Post New Answer

More Visual Basic Interview Questions

How can you filter out specific type of file using file system controls?

0 Answers  


Write the Steps in Creating an ActiveX Control?

0 Answers  


in vb6.0 can we use function keys (F1 to F12) in form_keypress event in a form which contains commandbutton (s) control? if yes, then explain me how it is possible. Thanks.

2 Answers   Wipro,


What are the Internet tools available in VB 6.0?

0 Answers  


How would you create your application in DHTML?

0 Answers  






Why do I get "object not an array" when I try reference the fields of a global object variable which I have set to a table?

0 Answers  


In visual source safe if in middle of my program power was off and it was not save then wat will happen whether it will save or not? can any body tel me the answer for this.

8 Answers   Wipro,


Types of LockEdits in RDO.

0 Answers  


I get a "file not found" error on the IIF function when I distribute by program. Why?

0 Answers  


what is the difference between name property and caption property in visual basic?

10 Answers   HCL,


HTML stands for What? Use of HTML ?

2 Answers  


To connect the Data Control with Back end What are all the properties to be set?

1 Answers  


Categories