This message serves for Google indexing. It only includes the first message of each thread from technical forums. To see the entire thread, the solutions and the technical content related to each message, you need to log in by going to the main page. This can be done at http://www.universalthread.com. If you do not have an account, we encourage you to create one now and start participating in Microsoft .NET and SQL Server related technology forums, just to name a few. Our database contains nearly two millions valuable high end technical messages. Thanks for the generous contribution to everyone who participated on the site so far, including MVP, Microsoft employees and many other well known contributors. The valuable content of the Universal Thread has created a history of 16 years of high end technical content which has helped many consultants, developers and many others in the industry on a daily basis. The site also offers a subscription option that greatly enhances your site experience.


View message
From01/07/1997 17:01:25
Chris Lose #012864
Penn State University
University Park, Pennsylvania, United States
To  
All


Forgive me for requesting such an easy task. I'm new to VBasic and need some help on some syntax.

I'd like to compare a string value against another but only makeing sure a fixed number of charaters match the string.

i.e. IP address 123.465.789.1 = 123.456

I just want to make sure the IP address falls into a certain subdomain. I've tried using the StrComp function but it compares the whole string.

TIA for any info.

P.S. It should work with VB 3