Ewon TechForum
Providing technical solutions to technical requests


MQTT Message Receive
Padsc Offline
Junior Member
#1
Hey,
I'm testing MQTT protocol in eWon using BASIC, its working and its a great addition. 
Now i want to know if BASIC as some function 'split' because when i receive a new message in eWon the string format would be "TAG:VALUE" and i want to split it to do the following:

array = string.split("TAG:VALUE", ":")
tag = array[0]
tag@ = array[1]

if its not possible i'm open to other suggestions about doing this.
Thanks
Reply

simon Offline
eWON Support
#2
Hi,

No there is no split fonction in Basic but check that : https://techforum.ewon.biz/thread-418.html
Reply

Padsc Offline
Junior Member
#3
Thanks i will try it.
Reply



Possibly Related Threads…
  MQTT with ThingsBoard RPC Started by EngFei
7 Replies - 226 Views
24-06-2020, 04:11 PM
Last Post: simon
  MQTT hangs Started by Tecmafra
3 Replies - 940 Views
19-06-2020, 02:33 PM
Last Post: simon
02-06-2020, 01:58 PM
Last Post: simon
05-05-2020, 10:32 AM
Last Post: simon
10-04-2020, 06:05 PM
Last Post: simon
10-04-2020, 05:48 PM
Last Post: simon
09-03-2020, 02:29 PM
Last Post: simon
06-03-2020, 06:39 PM
Last Post: simon
02-12-2019, 11:25 PM
Last Post: simon
27-11-2019, 10:30 PM
Last Post: simon



Users browsing this thread:
1 Guest(s)



Theme © Ewon 2019 - Forum software by © MyBB - Cookie policy