12-22-2010, 09:06 AM
i have searched in Help but its hart to understand if you read it first time ![Sad Sad](https://www.libreautomate.com/forum/images/smilies/sad.png)
Function Function
Any chance to match even if the txt file only contains a part of my string like the email add ?
Thanks again for everything you do for us !
regards
![Sad Sad](https://www.libreautomate.com/forum/images/smilies/sad.png)
Function Function
str Blocklist Searched
Searched = "user (user@yahoo.com)"
Blocklist.getfile("$desktop$\test.txt")
IStringMap m=CreateStringMap(1|2)
m.AddList(Blocklist "[]")
err ret ;; not sure about this but without it generates error if file is empty
if(!m.Get(Searched))
,out "not found"
else
,out "found"
Any chance to match even if the txt file only contains a part of my string like the email add ?
Thanks again for everything you do for us !
regards