Answers for "c# check character in string count"

C#
-1

find character from string c# count

int count = Regex.Matches(test, "word").Count;
Posted by: Guest on December-02-2020
-1

count number of specific characters in string c#

string source = "/once/upon/a/time/";
int count = 0;
foreach (char c in source) 
  if (c == '/') count++;
Posted by: Guest on November-15-2021

Code answers related to "c# check character in string count"

C# Answers by Framework

Browse Popular Code Answers by Language