The Godot Community Forums are back up and running! Please read the the announcement post for important information on what happened. Thanks!

Adding Characters to a string

DanTheManDanTheMan Posts: 3Member

How would I go about adding a character to a certain string? I thought it would be something like "String = String + Character" but that doesn't work, and I can't find anything online...


  • TwistedTwiglegTwistedTwigleg Posts: 3,135Admin

    Can you share the code you are using? I think string_var = string_var + "character" should work. You should also be able to add individual characters too, using something like string_var = string_var + "a".

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file