[VB] Search variable string in a text?

Carmen

Member
May 5, 2001
38
0
0
A string like this:

Line1: Arrive at %R, heading %D.

where %R is a varible of a road name,
and %D is a variable of a direction.

How to get the string of %R and %D from Line1.
i.e., the string between 'at' and ','
and the string after 'heading'

Thanks for reply!