<% iPos = Instr("Hello World","r") %> Referring to the above, what is the value of iPos?

A. 0
B. 1
C. 2
D. 8
E. 9

Showing Answers 1 - 15 of 15 Answers

Biradar

  • Jun 23rd, 2005
 

The correct answer of Question 3 in ASP is 9 and not 0.

  Was this answer useful?  Yes

Naresh

  • Aug 31st, 2005
 

E: 9

  Was this answer useful?  Yes

S. Ramesh

  • Sep 28th, 2005
 

Answer is A

This is return 9

it will return the Position of "r"

  Was this answer useful?  Yes

aji

  • Oct 14th, 2005
 

E. 9

  Was this answer useful?  Yes

anjum

  • Oct 26th, 2005
 

b.1

  Was this answer useful?  Yes

Sandeep Mittal

  • Nov 4th, 2005
 

E : Because Instr returns the position of a character in the string. Here r is at 9th position

  Was this answer useful?  Yes

Thirumurugan

  • Feb 23rd, 2006
 

Answer is 9

  Was this answer useful?  Yes

Rakesh Thawale

  • Jun 21st, 2006
 

answer is 9.

  Was this answer useful?  Yes

Sarfraz

  • Jun 29th, 2006
 

The answer should be 9  because it show the position of r in given string

  Was this answer useful?  Yes

vijayakish

  • Jan 15th, 2007
 

ans should be E.9

  Was this answer useful?  Yes

tks_muthu

  • Jan 30th, 2007
 

Answer is B = 1.The Instr String Functions returns the numeric value. If the given value is not found in the string it returns 0.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions