forked from solstice/solstice
432 B
432 B
string_Upper
Make a string uppercase.
Arguments
- str (string): the string to make uppercase.
Returns
upperString (string): the string in uppercase.
Raises
AllocFail: raised if Ground failed to allocate memory for the new string.
Example
Ground
call !string_Upper "MY string" &upperString
println $upperString # "MY STRING"
Solstice
puts string_Upper("MY string") // "MY STRING"