|
|
|
|
|
by rjha
921 days ago
|
|
formatting the above function for better readability ``` func toUpperCase(s: string) <IMPLEMENTATION> a = "hello world"
echo toUpperCase(a)
# HELLO WORLD
echo a.toUpperCase
# HELLO WORLD
echo toUpperCase a
# HELLO WORLD
echo a.toUpperCase
# HELLO WORLD ```
|
|