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...

how to find number of characters(letter a) in
the sentence
Rain Rain Go away

Answer Posted / aditya

Dim sentence, testchar, arr
sentence = Inputbox(" Enter a sentence" )
testchar = Inputbox(" The charecter to be checked")
arr = split(sentence, testchar)
msgbox "Total number of charecter " & testchar & " in sentence " & sentence & " is " & ubound(arr)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain a few date functions in vbscript

990


Mention what is variant in vbscript?

945


Mention what is the difference between vbscript and vba?

1055


How can the spaces from the string be removed?

1018


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

1413


How to write VB script for login module?

3189


What's the difference between vbscript and vb.net?

1108


If else for do while select in vb script?

1166


Develop a parameterized action that accomplishes the following a. Launch a browser of users choice ( example : IE, chrome etc) b. Open up a search engine (Google, Bing etc) c. Perform a search d. Click a particular link depending on the user’s choice ( 1st , 2nd or third link)

1858


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

2028


Difference between dim,public and private variables in vb script?

952


Anyone have qtp11.0 crack?

2831


What is the use of the instr function?

1063


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

1038


Like OPTION EXPLICIT statement what are the other statements used in vbscript and their usage. Please post me all the statements please.

2117