B bluedude Well-Known Member Licensed User Longtime User Dec 12, 2010 #1 Hi, I'm trying to fill an array by doing this: for i=0 to 10 arrData=Array as string ("test") next i The function description in B4A says: Days=Array as string ("Sunday","Monday"...) However, I need to do this in a for loop. I'm trying to create my own Split command. It seems not to work, how to do this?
Hi, I'm trying to fill an array by doing this: for i=0 to 10 arrData=Array as string ("test") next i The function description in B4A says: Days=Array as string ("Sunday","Monday"...) However, I need to do this in a for loop. I'm trying to create my own Split command. It seems not to work, how to do this?
Erel B4X founder Staff member Licensed User Longtime User Dec 12, 2010 #2 If you want to set a specific element then you should use: B4X: arrData(5) = "test" Note that there is a split method under Regex. Upvote 0
If you want to set a specific element then you should use: B4X: arrData(5) = "test" Note that there is a split method under Regex.