
10-08-2003, 06:41 PM
|
|
Junior Contributor
|
|
Join Date: Jun 2003
Location: Australia
Posts: 241
|
|
You can use InStr() to find a string/word inside another string. To get the title of a webpage, you could just search for the <title> and </title> tags, then the text in between them.
To seperate the first word from a string, you can use InStr() to search for a space character, then use Left() to return the characters before the space, something like:
Code:
If InStr(1, Text1.Text, " ") Then
Text1.Text = Left(Text1.Text, InStr(1, Text1.Text, " "))
End If
|
|