Function
toUpperCase(_:)
Converts a string to uppercase.
func toUpperCase(_ string: any EcoreValue) throws -> EString
Parameters
string-
The string to convert
Return Value
A new string with all characters in uppercase
Discussion
The toUpperCase operation returns a new string with all characters converted to their uppercase equivalents using the current locale.
Examples
let text = "hello world" as EString
let upper = try toUpperCase(text) // Result: "HELLO WORLD"