************************************** def ix_grep(s0,s1,s2,s3,s4): ************************************** #by D@CC #on 2023LDec03 #repository: fPkg_py.py #Purpose: to call ix_grep_v00 which greps the result (after the split) eg "DavidCole" parm0 targetStr str to search for parm1 file name of folder/file to be searched eg /home/pi/Desktop/IX_assets/ix/ix_eDict.txt parm2 splitStr char for split eg "=" should search for " =","=","= " or " = " or equivalent regular expression parm3 stripStr char to strip (front and back) eg '"' parm4 commStr char to designate a comment eg "#" Returns: parmOut: grepped string result eg ix_grep("myName",.../ix_eDict.txt,"="," ","#") returns "DavidCole" not the whole record which is 'myName= DavidCole' or 'myName= "David Cole"' from fPkg_py import ix_grep, ix_grep_v00 vfy??? return ix_grep_v00(s0,s1,s2,s3,s4) #def end ix_grep() ******************************************************************** /ix_grep.txt