Click to See Complete Forum and Search --> : Search in String with API


udipr
July 17th, 2001, 01:32 AM
Hello.

Is any body know how can I replace the use with InStr function with API ?

I want to search chars/substrings in Big String, but use with API and not with VB functions.

Thanks for any help

Clearcode
July 17th, 2001, 04:16 AM
May I ask why InStr() isn't sufficient?

Instr() is just a bunch of API calls put together in the VB dll to achieve the instr effect - I doubt you can gain much by rewriting it.

TIA,
Duncan

-------------------------------------------------
Ex. Datis: Duncan Jones
Merrion Computing Ltd
http://www.merrioncomputing.com
Check out the new downloads - EventVB.OCX for adding new events to your VB form and adding System Tray support simply, MCL Hotkey for implemenmting system-wide hotkeys in your application...all with source code included.