Can I convert a string to an array of strings?

code

#1

I have the followiing text “Firstname lastname” y want a result of an array of type string[] like in csharp

string[] str = text.Split(’ ')


#2

ok I found it, closing this thread hehe

text.ToString().Split(expression here)