Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

godot string format

var format_string = "%s was reluctant to learn %s, but now he enjoys it."
var actual_string = format_string % ["Estragon", "GDScript"]
 
PREVIOUS NEXT
Tagged: #godot #string #format
ADD COMMENT
Topic
Name
8+2 =