Hello, I have an array called strPackets() which is a string, and I'm using regex.split to fill the array with different sections of another string (strBuffer) which are separated by Chr(4)
However, after I do this and I try to get the length of an array value, like this, it errors.
What am I doing wrong? I can't get anything from that value but it definitely exists because the regex.split fills strPackets(1) with a string
Thanks in advance
B4X:
strPackets = Regex.Split(Chr(4), strBuffer)
However, after I do this and I try to get the length of an array value, like this, it errors.
B4X:
If strPackets(anyvalidnumberinthearray).Length > 3 Then
What am I doing wrong? I can't get anything from that value but it definitely exists because the regex.split fills strPackets(1) with a string
Thanks in advance