文本框最后的项目/ VB [英] Textbox last items /VB
本文介绍了文本框最后的项目/ VB的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好我想要的文本框最后5项
例如
http://www.google.com/blabla
我只想获得blabla部分文字
我正在使用
Hello everyone I want get textbox last 5 item
For example
http://www.google.com/blabla
I only want get blabla part of text
I''m using
Dim s As String = PictureBox3.ImageLocation.ToString
ListBox2.Items.Add("blabla" & s.Remove(0, 54))
但很难处理很多不同的网址
那我怎么才能得到6项文本
Grettings,Mert
But it''s hard to handle with a lot of diffrent url''s
So how can I get only 6 item of text
Grettings,Mert
推荐答案
尝试:
Try:
Dim s as String = inpString.Substring(inpString.Length - 6)
谢谢!
你救了我的命:p
Thank you!
You saved my life :p
这篇关于文本框最后的项目/ VB的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文