toUpperCase (Function)

Signature: toUpperCase(s: string) -> string

Description: Converts ASCII letters to uppercase; other bytes are unchanged.

Parameters

  • s (string): The string to transform

Returns: string

Example

print(toUpperCase("hello"))  // "HELLO"
print (toUpperCase "hello")  // "HELLO"