You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: f_findstring.m
    path of file: ./repos/erplab/studio_functions/Functions/EStudio/ERP Tab
    
    the code of the file until where you have to start completion: % This function is written to check if the string of interest exists in the parent structure
%Author: Guanghui ZHANG--zhang.guanghui@foxmail.com
%Center for Mind and Brain
%University of California, Davis
%Dav
    
function is written to check if the string of interest exists in the parent structure
%Author: Guanghui ZHANG--zhang.guanghui@foxmail.com
%Center for Mind and Brain
%University of California, Davis
%Davis, CA
%Feb. 2022

% ERPLAB Studio


function count = f_findstring(Parent_Structure,String_checked)

if isempty(Parent_Structure)
    msgboxText =  'Parent structure is empty!';
    title = 'EStudio: findstring()';
    errorfound(msgboxText, title);
    return;
end