![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | Koroshiya |
Hi !
I have not found any information about change from capital letter to lower case and backwards in a STRING variable.
Thanks !
![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | Koroshiya |
Hi !
I have not found any information about change from capital letter to lower case and backwards in a STRING variable.
Thanks !
![]() |
Reply From: | kidscancode |
Have a look at the String class documentation:
and you’ll see to_upper()
and to_lower()
![]() |
Reply From: | lionel |
Hi.
You can also use capitalize like Camel Case :
string.capitalize()
or if u want to upper the first char of your string :
string[0].to_upper() + string.substr(1,-1)