Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / May 2005

Tip: Looking for answers? Try searching our database.

Wildcard seaching in a string array.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Murthy - 05 May 2005 13:50 GMT
Please suggest me a way to search for strings with wildcards in an array of
character strings.
Brian Muth - 05 May 2005 22:31 GMT
Consider using a regular expression engine. It is probably what you really
need.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cp
conregularexpressionsaslanguage.asp


Brian
Murthy - 09 May 2005 05:27 GMT
Thanks Brian,
Sorry, I'm not using dot net.
I am using VS 6.0 with plain SDK, no MFC.
Any suggestions for the same on VS 6.0?

> Consider using a regular expression engine. It is probably what you really
> need.
>
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cp
conregularexpressionsaslanguage.asp

>
> Brian
Carl Daniel [VC++ MVP] - 09 May 2005 06:12 GMT
> Thanks Brian,
> Sorry, I'm not using dot net.
> I am using VS 6.0 with plain SDK, no MFC.
> Any suggestions for the same on VS 6.0?

Another regular expression libary.  Try searching the 'net a bit - you'll
find several.  You can start at www.boost.org.

-cd
Brian Muth - 09 May 2005 18:35 GMT
> Thanks Brian,
> Sorry, I'm not using dot net.
> I am using VS 6.0 with plain SDK, no MFC.
> Any suggestions for the same on VS 6.0?

Sure. There is a COM version of the regular expression engine on your
machine, called RegExp, which works perfectly well from VS 6.0. Just import
the associated typelib and you are on your way.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/html/v
sobjRegExp.asp


Brian

> > Consider using a regular expression engine. It is probably what you really
> > need.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cp
conregularexpressionsaslanguage.asp


> > Brian

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.