© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
19 replies
AriieSiiS

❔ Help with strings

I put it here because I think it is a quick and very basic question, I have a string with a specific series of letters and I want to check that another string that the user writes by console can ONLY have letters of that string. How can I do it? I mean this is what I have so far but it doesn't work. In the first case I want to be able to enter only those numbers and then I want to be able to enter only one of those letters but it is not well done.
image.png
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

❔ Messing Around with Strings
C#CC# / help
4y ago
✅ Strings
C#CC# / help
17mo ago
Manipulating Strings
C#CC# / help
15mo ago
CLI tool with access to connection strings?
C#CC# / help
2y ago