# capitalizing initial character in game maker studio

The value "V_Output" is the string of letters that I wish to capitalize the initial of. The following code is run in the step event.

V_InitL=string_char_at(V_Output,1)
V_InitL_Cap=string_upper(V_InitL)

string_delete(V_Output,0,1)
string_insert(V_InitL_Cap,V_Output,1)


The resultant output as is produced in the draw event shows the original, un-capitalized version.

The following debug changes produce no detectable effect:

V_InitL=string_char_at(V_Output,1)
V_InitL_Cap=string_upper(V_InitL)

string_delete(V_Output,0,1)
string_insert("DEBUG",V_Output,1)


Why is this happening? What should I do to fix it?

V_InitL=string_char_at(V_Output,1)