问题描述
大家好我需要帮助,当我从Hyperterminal获取数据到vb.net标签时,它是这样的: - = 000000 = 001000 = 011100 = 010000 =并继续。我需要的只是像00000或001000这样的数字。任何人都可以提前帮助我plzzzz,而不是提前...
Hi all I need a Help, When i get data From Hyperterminal to vb.net label it comes like this:-"=000000=001000=011100=010000=" and it continues. What i need is only the Number like 00000 Or 001000.Can anyone help me plzzzz,thanx in advance...
推荐答案
t是这样的: - = 000000 = 001000 = 011100 = 010000 =并继续。我需要的只是像00000或001000这样的数字。
t comes like this:-"=000000=001000=011100=010000=" and it continues. What i need is only the Number like 00000 Or 001000.
使用字符 =
作为分隔符拆分接收到的字符串。请参阅 []。
The split the received string using the character =
as separator. See the String.Split documentation[^].
这篇关于如何以数字的形式从Hyperterminal获取数据到Vb.net标签?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!