vendredi 27 mars 2015

Visual Basic: get count of an characters in string

How do you count specific character occurrences in a string in VB.NET?


like for example I have a string of:



123#17453#40110#065


I would like to determine what is the code? of getting the # sign which the answer is 3.


Hope you can help me on this. Thanks and Regards..


Aucun commentaire:

Enregistrer un commentaire