johannetje2
Gebruiker
- Lid geworden
- 26 okt 2008
- Berichten
- 247
Hallo!
De tekst in tekstbox1 is 'Hallo daar'
Hoe doe ik dat ik iets laat zoeken:
If Textbox1.Text.Contains("daar") then
?????
dattie het eruit haalt?
Edit!
Ik heb het opgelost met deze code:
De tekst in tekstbox1 is 'Hallo daar'
Hoe doe ik dat ik iets laat zoeken:
If Textbox1.Text.Contains("daar") then
?????
dattie het eruit haalt?
Edit!
Ik heb het opgelost met deze code:
Code:
Dim LineOfText As String
Dim i As Integer
Dim aryTextFile() As String
LineOfText = TextBox1.Text
aryTextFile = LineOfText.Split(".")
TextBox1.Text = aryTextFile(i)
Laatst bewerkt: