find the length of the string without using length function?

Answer Posted / prudviraj

str= "this is an interview questions"
var1= Right(str,1)
var2 = InStrRev(str,var1)
MsgBox var2

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you declare a variable in vbscript?

626


Which operator can be used to change the value of the operand or change the state of the condition?

575


In html file what is an ideal position to include vbscript?

811


Explain about filter expression?

563


What is event handling in vbscript?

599






Explain about vb script?

747


Which command is used for writing text on a page?

576


Mention how to assign a date value to a variable?

588


how to automatically update the sql server2005 database records when insert in vb6?

1485


What are the data types supported by vbscript?

578


Explain a few date functions in vbscript

557


How to replace junk code recorded by QTP with a mall function.

1646


How to access array data?

545


Explain about arrays in vb script?

604


What is byref and byval parameters in vbscript?

604