remove parts of textbox to special character
If you need help with a project or need to know how to do something specific in VB.NET then please ask your questions in here.
Forum rules
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
3 posts
Page 1 of 1
How can i remove ex.
Code: Select all
How can i remove this part
Hello: This is a test - And this is another test
Code: Select all
and leave
Hello: This is a test -
Code: Select all
so it deleted everything until the - comes in the textboxAnd this is another test
Code: Select all
Dim Length As Integer = TextBox1.Text.IndexOf("-")
TextBox1.Text = TextBox1.Text.Substring(Lenght + 1)
LMAOSHMSFOAIDMT
Laughing my a** of so hard my sombrero fell off and I dropped my taco lmao;
Over 30 projects with source code!
Please give reputation to helpful members!
![Image]()
![Image]()
Laughing my a** of so hard my sombrero fell off and I dropped my taco lmao;
Over 30 projects with source code!
Please give reputation to helpful members!

MrAksel wrote:Thanks again, just what i was looking for cooll;Code: Select allDim Length As Integer = TextBox1.Text.IndexOf("-") TextBox1.Text = TextBox1.Text.Substring(Lenght + 1)
3 posts
Page 1 of 1
Copyright Information
Copyright © Codenstuff.com 2020 - 2023