Jump to content
Sign in to follow this  
Glyph

exceeded dimension array in stringsplit, help....

Recommended Posts

Glyph

case $data= StringRegExp($data, ".message.",0) = 0 $msg2=StringSplit($data,"|") GUICtrlSetData($chatbox,@HOUR&":"&@MIN&":"&@sec&" | [in] "&$msg2[2]&" "&$msg2[3]&@CRLF&GUICtrlRead($chatbox))

I get error at: $msg2[2]&" "&$msg2[3]

the data sent is:

UDPSend(UDPOpen($ip, 2007), ".message.Server:You are now connected!")

I just answered this in my own post, haha. Sorry!

(I forgot the seperator!)

Edited by BackStabbed

tolle indicium

Share this post


Link to post
Share on other sites
Nahuel

Have you tried:

$msg2[1]&" "&$msg2[2]

?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×