Answers for "GDScript string interpolation"

3

gdScript string format

var s1 : String = "godot"
var s2 : String = "%s game engine" %[s1]
print(s2) # print -> godot game engine
Posted by: Guest on August-27-2020

Python Answers by Framework

Browse Popular Code Answers by Language