Our new official repo is on github
LCD Smartie version 5.6 is released!
Download it now: https://github.com/LCD-Smartie/LCDSmartie/releases

Search and Verify Text

Place your requests for plugins here

Moderators: _X7JAY7X_, caesar, IFR, mattcro, limbo

Post Reply
justonewren
Posts: 4
Joined: July 17th, 2007, 10:31 pm
Location: Atlanta, GA

Search and Verify Text

Post by justonewren »

I would like a plugin with 2 inputs:
1. a text string
2. a txt file

and a boolean output

$dll(SandV,1,text,test.txt,)

I want it to search the txt file to see if the text string exists in it. If it does, it will return a 1; if not, a 0.

For Example, a text file called numbers:

Code: Select all

one
two
three
four
five
$dll(SandV,1,four,C:\Program Files\LCD Smartie\numbers.txt,) would return a 1
$dll(SandV,1,4,C:\Program Files\LCD Smartie\numbers.txt,) would return a 0

limbo
Plugin Author
Posts: 1604
Joined: February 13th, 2005, 7:38 pm
Location: Athens - Greece
Contact:

Post by limbo »

That's easy friend.... :lol:
Take a look here:
http://forums.lcdsmartie.org/viewtopic. ... 2610#12610

Post Reply