I've been working on a project where I need to develop a software using Visual Basic 6. Now, my problem is, does VB 6 have any operator that'll allow me to chek for the presence of a character string within a character array?
For example:
I want to know if "scien" is present in the array "rocket scientist". How can I make this possible?
2007-06-03
22:02:39
·
6 answers
·
asked by
Shayonâ?¢
2
in
Computers & Internet
➔ Programming & Design
@ AnalProgrammer
The source that u'd used in for Visual Basic.NET and the software I am using is Visual Basic 6. Moreover, "IndexOf" is a user-created function in the example given in ur source page. I wanted to know if there is any inherent operator or function to check that, in Visual Basic 6.
@ Waheed
SubStr is used in C n C++, sweetheart....not in VB6. Anyways, thanks for trying to help me out!!
2007-06-03
22:22:40 ·
update #1
@ Mohamed Kaleel
Hey, thanks a lot for the help, ya....got my problem fixed, kinda. Btw...wot xactly does the function InStr do? Well..another Question...which add-in is the best for generating reports in VB6? Crystal Reports or the in-built report generator in VB6 or something else? I would like to use the one which'll be most versatile.
2007-06-03
22:47:01 ·
update #2