find the length of the string without using length function?

Answer Posted / rajanikanth

Option Explicit
Dim a
txt="I am Rajanikanth"
txt = txt & "@"
a = Instr(txt, "@") - 1
MsgBox a

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which function is used to perform string comparison?

564


PLz send me the VB scripts which is having more examples my email id : hareen_11@yahoo.com

1660


Can anyone send me a vb script function for verifying the functionality of active links on a web page

1600


Illustrate briefly about the different types of statement

2024


Description.Create

2162






Which loop is used in case of arrays in the vbscript language?

520


Explain about the support of asp for vb script functionality?

528


why do u choose to go for testing why cant for devoloping

1588


What are the valid scopes of a variable in vbscript?

608


Explain the functionality of vbscript?

538


What is variant in vb script?

626


What is sql loader? Explain the files used by sql loader to load file?

620


what is used of Property........End Property loop ? how to write the script for it?

1686


Explain a few date functions in vbscript

557


What is the use of option explicit in vbscript?

542