Search
Setup for Free
C
C#
•
2y ago
js
how do i check if a string contains only words and space
ive got an if statement that needs to check if a string contains only letters or spaces
, online i can only find how to check for only letters which then flags the spaces as not letters
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,147
Members
View on Discord
Similar Threads
Was this page helpful?
Yes
No
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Similar Threads
way to check if a string contains only alphabet
C
C# / help
2y ago
Check if a string contains a word in an array
C
C# / help
4y ago
❔ Checking if a string only contains specified characters (Order doesn't matter)
C
C# / help
3y ago