Can anyone tell me how to count the letters in a string in MySQL?
For example:
SELECT numberOfLetters('abc123 def')
would return 6
By letter, I mean A-Z and a-z.
numberOfLetters is not valid SQL of course, but it illustrates what I am trying to do.
The version of MySQL that I’m using is 5.5.27
You will need a function:
And then call: