Skip to main content

The "string_lower_first" Function

Syntax#

string_lower_first(str);
ArgumentTypeDescription
strstringThe string to modify

Description#

Returns a string with the first letter of the first word lowercase (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_first(mystring));
// Result: "hELLO, WORLD!"