String append: Difference between revisions
Content added Content deleted
(Add lang example) |
(GDScript) |
||
Line 857: | Line 857: | ||
<pre> |
<pre> |
||
Hello World! |
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> |
</pre> |
||