Hey, i was wondering, is there a way i could store a variable in mid-string?

like rather then saying
VB Code:
  1. Dim strName As string
  2.  
  3. strName = txtinput.text
have it do something like

VB Code:
  1. If txtinput.text = "my name is <Variable>"(then have it store whatever you put in that slot as strName) then
  2. messagebox.show: "you said your name was " & strName
  3. End If

if you understand this question and have a solution, would appricate it

thanks
--Flac