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 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.