Not sure what you have for data, but here is a sample from one of my tables. It uses the INSTR() construct suggested to you by the others.
I'm doing this with a query, but you could set up a form with similar concept. I have used " employee" as my keyword for this sample. You could use a txtbox to create your filter.
I am searching for a keyword/string within a memo field called "txt".
If found I return the Estblmt_No, the length of the memo field, the right most 20 characters of the memo field, and the momeo field.
Code:
SELECT tbl_Spl_LCL_Std_EstProfileEng.ESTBLMT_NO
, Len([TXT]) AS LENGTH
, Right([txt],20) AS Last20
, tbl_Spl_LCL_Std_EstProfileEng.txt
FROM tbl_Spl_LCL_Std_EstProfileEng
WHERE instr(txt, " employee")>0
OOOPs: I see you have resolved it while I was typing.