问题描述
您好。因为我有问题。我想分离数据,例如以下示例。提前谢谢。
注意:^^^ X ^ A1 ..... ^ B1 ..... ^ C1 ..... ^ D1 ... ^ E1 .... ^ A2 .... ^ B2 ... ^ C2 .... ^ D2 ... ^ E2 ... ^^^ _ X
....(任何数据都可以)
样本字符串= ^^^ X ^ A12505361170 ^ B1255907002 ^ C1ABCD ^ D12555 ^ E12014 / 10/10 23:10:02 ^^^ _ X
Textbox1.text = 2505361170
textbox2.text = 255907002
textbox3.text = ABCD
textbox4.text = 2555
textbox5.text = 2014/10/10 23:10:02
Hello. As I have a problem. I want to separate the data, such as in the following example. Thank you in advance.
note: ^^^X^A1.....^B1.....^C1.....^D1....^E1....^A2....^B2...^C2....^D2....^E2...^^^_X
....( Any data can be)
sample string= ^^^X^A12505361170^B1255907002^C1ABCD^D12555^E12014/10/10 23:10:02^^^_X
Textbox1.text=2505361170
textbox2.text=255907002
textbox3.text=ABCD
textbox4.text=2555
textbox5.text=2014/10/10 23:10:02
这篇关于Vb.net在字符串中选择数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!