Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- TASM 2.x / MASM 6.x Assembly Language - <b>instr finds substring directive</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
INSTR            Finds Substring                                    Directive

  name INSTR [start,] string1, string2

     INSTR returns the position of a string inside another string.
     name is assigned a value that is the position of string2 in
     string1.

       Notes:     The first position has a value of 1, not 0.

See Also: CATSTR SIZESTR SUBSTR

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson