如何以数字的形式从Hyperterminal获取数据到Vb.net标签? [英] How to get data From Hyperterminal to Vb.net Label in the form of Number?

查看:68
本文介绍了如何以数字的形式从Hyperterminal获取数据到Vb.net标签?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好我需要帮助,当我从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.



使用字符 = 作为分隔符拆分接收到的字符串。请参阅 String.Split文档 [ ^ ]。


The split the received string using the character = as separator. See the String.Split documentation[^].


这篇关于如何以数字的形式从Hyperterminal获取数据到Vb.net标签?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆