Delete certian text

decrypt

Junior Contributor
Joined
Oct 6, 2003
Messages
216
Ok i know this sounds very simple, but i'm 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

Visual Basic:
If textbox1.contains("is") Then
     textbox1.text.trim("is")
End If
or just
Visual Basic:
textbox1.text.trim("is")
But it didn't work...so...could you please help me :) (i've never done it before...
 
Back
Top