Sign in to follow this  
Followers 0
gcue

condition with wildcard?

3 posts in this topic

im doing a settings check on values within an INI. sometimes the value has spaces between it other times it doesnt

value is sometimes "TCP, 0, 15, 0,,12320" but other times its "TCP, 0, 15, 0,,12320"

but the only number i really care about is the 12320

is there a way to put in a wildcard in this statement?

If $compression="TCP, 0, 15, 0,,12320" Then

Share this post


Link to post
Share on other sites



If StringInStr($compression, "12320") Then ....

Share this post


Link to post
Share on other sites

thanks man!

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0