Help with text replace in VB.NET

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.
3 posts Page 1 of 1
Contributors
User avatar
CodenBoy
Top Poster
Top Poster
Posts: 103
Joined: Sun Jul 15, 2012 4:06 pm

Help with text replace in VB.NET
CodenBoy
Hello,

I need super little help, what is the replace code for textbox? i dont know why textbox1.text.replace("a","A") or anything wont work..

Thanks!
User avatar
lolxot
VIP - Donator
VIP - Donator
Posts: 155
Joined: Thu Apr 08, 2010 4:59 pm

Re: Help with text replace in VB.NET
lolxot
Code: Select all
textbox1.text = textbox1.text.replace("text", "new text")
try this
User avatar
CodenBoy
Top Poster
Top Poster
Posts: 103
Joined: Sun Jul 15, 2012 4:06 pm

wow, nice little code :)

it worked great :D thanks!!
3 posts Page 1 of 1
Return to “Coding Help & Support”