Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- QuickBASIC 3.0 - <b>mid$ substring in middle function</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
MID$                     Substring in Middle                         Function

s$ = MID$(stringexpr,n[,length])

    Returns a specified number of characters from a specified string,
    beginning at a specified character position.

  stringexpr    A string expression.

           n    A numeric expression in the range 1 to 32767;, specifies
                the character position from which the substring is to be
                extracted.

      length    A numeric expression in the range 0 to 32767; specifies
                the number of characters to return.

   ----------------------------------------------------------------------

      Notes:    If length is omitted, MID$ returns all the characters in
                the string beginning at character n.

                MID$ may also be used as a statement.

See Also: LEFT$ MID$ (Statement) RIGHT$

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