Skip to main content

The "string_lower_words" Function

Syntax#

string_lower_words(str);
ArgumentTypeDescription
strstringThe string to modify

Description#

Returns a string with the first letter of each word uncapitalized (can be used for camelCase, for example). Only applies to English characters A-Z.

Example#

var mystring = "HELLO, WORLD!";
draw_text(25, 25, string_lower_words(mystring));
// Result: "hELLO, wORLD!"