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

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

901


what is diff between static and dynaic arrys?

2081


Explain vbscript in detail?

1006


Compare java script and vb script?

1023


Explain about tristate constants?

950


How to open excel in vb script?

967


Which conditional statement is the most convenient one to use in the case of multiple conditions in the vbscript language?

908


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

1088


What is the event handling in vbscript?

930


Hi, Can anyone please send me vb script examples to practice vb and also material to learn vb scripting in QTP? my email id : hareen_11@yahoo.com

2234


Which object is used to work with the database in the vbscript language and what statement is used to create this object?

926


What are the environments supported by vbscript language?

869


Explain the tristate constants in vbscript?

974


What is the use of the formatdatetime function in the vbscript language?

955


Capture the Unique label changes on google home page for I am feeling lucky button and save those label changes to Notepad Note: Using QTP

2304