I cannot use strtolower as it affects all characters. Should I use some sort of regular expression?
I’m getting a string which is a product code. I want to use this product code as a search key in a different place with the first letter made lowercase.
Just do:
And if you are using 5.3 or later, you can do: