© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
24 replies
TheOne1984

✅ Trying to count numbers on a string

I want to count how many times any number appears in the string, in a way such that: "2" then numbers ++ and "351" then numbers++ every time any number appears, instead of counting the digits.
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

adding numbers from a string array
C#CC# / help
2y ago
❔ I'm trying to convert a Vector3 string to a Vector3 but the numbers returned aren't correct.
C#CC# / help
3y ago
trying to create a function that returns the list from even numbers to odd numbers
C#CC# / help
3y ago
Sorthing house numbers of type string
C#CC# / help
14mo ago