Changing the case of a string
Converting case of a sentence of strings: mb_convert_case()
You can convert the case of a sentence with the mb_convert_case()
function.
You have multiple modes for influencing the way you want to change the case, and some of them are pretty similar:
For example, you can convert all chars in upper case with MB_CASE_UPPER
, or you can convert all chars in lower case with MB_CASE_LOWER
, or you can obtain words with the first letter upper case and all others with lower case like βHello, How Are You?β