String append: Difference between revisions
GDScript
(Add lang example) |
(GDScript) |
||
Line 857:
<pre>
Hello World!
</pre>
=={{header|GDScript}}==
{{works with|Godot|4.0.1}}
<syntaxhighlight lang="gdscript">
extends MainLoop
func _process(_delta: float) -> bool:
var string: String = "123"
string += "abc"
print(string)
return true # Exit
</syntaxhighlight>
{{out}}
<pre>
123abc
</pre>
|