is there a way I can check if a string is upper or lower case? Typically you'd probably just care about the first letter, although in my case string are either gonna be all upper or all lower case. But I dont know how to check whether it's either of the two, checking first letter only or full word therefore doesn't really matter.
Any ideas please?
Develop games in your browser. Powerful, performant & highly capable.
you can use uppercase(text) or lowercase(text) to convert the text to be upper or lower as required.
if you need to know before you take any action, you could compare two values like this:
if TextBox.Text = uppercase(TextBox.Text) then you know it was already all upper case
if TextBox.Text = lowercase(TextBox.Text) then you know it was already all lower case...