Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

find the length of the string without using length function?

Answer Posted / rajani_kanth

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

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is vbscript language a case-sensitive language and what does it mean?

1025


Explain How do you create a recordset object in vbscript?

1026


How to identify column in VSFlexgrid? My VSFlexgrid window is identified as 'Active X Control'

3757


What is dictionary object in vbscript? Explain?

1190


What is the main difference between function and sub-procedure?

1069


How are values assigned to string type and numeric type variables?

1010


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

1038


Explain few date functions in vbscript?

1071


Which keyword is used to declare a variable in the vbscript language?

950


I have an excel sheet with multiple ID's in a column. Now i need fetch those ID's in an application and check whether if it already exist in the DB. If not then i have to go with the process of inserting them in the DB. If it exists then i need to skip that ID and move to the next ID and check the same and proceed. How can i do that with for loop and if condition?

1401


What are class events?

987


How will you get a string with the specified character the specified number of times in vbscript?

1026


Which function is used to perform string comparison?

1132


What is the scope of a constant declared using public?

983


What are the differences between sub procedures and function procedures?

993