We can do this by upper() function like:s="mystring"s.upper()// it will return "MYSTRING"
like:
s="mystring"
s.upper()
// it will return "MYSTRING"