The "string_upper_all" Function

Syntax#

string_upper_all(str);
ArgumentTypeDescription
strstringThe string to modify

Description#

Converts a string to all uppercase letters. Applies to English characters A-Z only.

info

Like the built-in string_upper function, but nearly 2x faster!

Example#

var mystring = "hello, world!";
draw_text(25, 25, string_upper_all(mystring));
// Result: "HELLO, WORLD!"