Как проверить, содержит ли текст1 текст2 с помощью vb6?

Как проверить, содержит ли text1 текст2, используя vb6?

Dim text1 as string
Dim text2 as string

text1 = "hello world I am Anas"
text2 = "Anas"

if (check if text2 is in text1) 'the result should be true or false
13
задан Joel Coehoorn 3 April 2012 в 23:33
поделиться