1.

Solve : VB.Net string analysis? (search for keyword in string)?

Answer» SAY:
(This code is imperfect, writing it in the message BOX =D)
Code: [Select]Dim str as string = "The apple fell from the apple tree"
How do I, under x-event, to search the string 'str' for the WORD apple and return how many occurances were found?

Can't you USE system.IO.Streamreader? I remember something about that from a while back, but I'm not sure.

TIA,
:Liami think you can use BCProgrammer logic, he posted it somewhere

pseudocode:
n = (str.length - Replace(str,"apple","").length) / 5


Discussion

No Comment Found