Hi all
Can I enter the values of an array from text data? Example: a textarea contains: “word1”, “word2”, “word3” and I would like to make an array myarray () then myarray = array (textarea.text)?
THANK YOU
What you need to use is Split; there is an example there. The syntax is:
Split(delimiter As String = " ") As String()
So, you will end with
myArray = myTextArea.Text.Split(" ")
Not tested, Xojo is sleeping now
Tested immediatly. That is right! Good job. Many thanks Emile.