Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21250

INSTR and string position....

$
0
0
i loop a txt file line by line.

i need to check position of string in string line...

for example is use to check "AAABBB" in line string:

if instr(myline,"AAABBB")>0 then
'ok
end if

when the instr is true how to check the mid position of string "AAABBB"?

why?

The string "AAABBB" have a variable position and not static position in txt line

How to?

Viewing all articles
Browse latest Browse all 21250

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>