Answers for "godot string split"

0

godot string split

var some_string = "One,Two,Three,Four"
var some_array = some_string.split(",", true, 1)
print(some_array.size()) # Prints 2
print(some_array[0]) # Prints "One"
print(some_array[1]) # Prints "Two,Three,Four"
Posted by: Guest on June-09-2021

Browse Popular Code Answers by Language