its a lot of code for each check.

yes it can be.

yes it can be.

How can I check if a string contains ONLY letters?

Look at them one by one.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.