Delete certian text

decrypt

Well-known member
Joined
Oct 6, 2003
Messages
216
Ok i know this sounds very simple, but im asking... soo..yeah...
Ok, just say that you have a textbox that contains the text "Hello my name is blah is blah is blah" How would you get rid of the "is"es in this sentance so it would show "Hello my name blah blah blah" without just going textbox1.text("Hello my name blah blah blah")? For example I tried going

Code:
If textbox1.contains("is") Then
     textbox1.text.trim("is")
End If
or just
Code:
textbox1.text.trim("is")
But it didnt work...so...could you please help me :) (ive never done it before...
 
Back
Top