iamtheky Posted April 9, 2019 Share Posted April 9, 2019 But what is the endgame? To just know if it is there, and if so where? $str = fileread("recipe.txt") $match = "LSD_6_INCH" ;~ $match = "Test No Match" msgbox(0, '' , stringreplace(stringmid($str , 1 , StringInStr($str , $match & " ")) , @LF , @LF) ? 'line ' & @extended + 1 : 'no match') ,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-. |(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/ (_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_) | | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) ( | | | | |)| | \ / | | | | | |)| | `--. | |) \ | | `-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_| '-' '-' (__) (__) (_) (__) Link to comment Share on other sites More sharing options...
Rammanan Posted April 9, 2019 Author Share Posted April 9, 2019 @FrancescoDiMuro Thanks so much it working 🙏 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now