Answer the question
In order to leave comments, you need to log in
How to check a string for special characters?
It is necessary to check the string for the presence of special characters and numbers. Check if the string contains only letters of the Latin alphabet.
For example, the string "roi134432-=-!"#;;" is not suitable, but the string "golang" is.
Python has a wonderful method that literally in a couple of lines of code does this check, do we have something magical?))) )
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question