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 can count the string ?
for ex: If i have string like 'bhaskar' then i need like
b:1
h:1
a:2
s:1
k:1
r:1

please give any idea on that


Answer Posted / debasish

the good away to count is convert it to a arry and the
count the array element.. you can do as you like with array.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to defragment table indexes?

965


what is a transaction? : Sql server database administration

976


You have a table ‘test’ which is a copy of northwind employee table you have written a trigger to update the field ‘hiredate’ with the current date

1031


How to select some specific rows from a table in ms sql server?

986


What are the different types of triggers in SQL SERVER?

1108


What are the new features of sql server 2008 r2 reporting service?

206


What is the syntax to execute the sys.dm_db_missing_index_details? : sql server database administration

1120


How to populate a table in sql server?

942


How many partitions a clustered index has by default in sql server 2012?

1073


What is the purpose of the model database?

1005


Explain different types of locks in sql server.

1064


How to generate random numbers with the rand() function in ms sql server?

1124


What is a trigger and its types?

963


How do clustered indexes store data?

1086


What is the difference between system objects and user objects?

1141