MID$ (statement)

From QB64 Wiki
Revision as of 03:11, 18 September 2009 by imported>Clippy
Jump to navigation Jump to search

The MID$ statement specifies a position in a STRING to overwrite previous data.

Syntax: MID$(string_variable, start%, length%) = string_value

  • String variable is any STRING or ASCII character values in quotes or a variable.
  • Start specifies the string character to start and length reserves the space.
  • The string value to be placed in the string should be as long as the length reserved.
  • The length of the original string is NOT changed in any case! Excess characters will not be in the string.

See also: MKI$, MKL$, MKS$, MKD$, STR$, HEX$, INSTR, Bitmaps, ASCII


Go to Keyword Reference - Alphabetical

Go to Keyword Reference - By usage