You mean like...

code:
 
InStr ($filename, $surname)

??