Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
MID$ Statement QuickSCREEN
◄QuickSCREEN► ◄Details► ◄Example► ◄Contents► ◄Index►
──────────────────────────────────────────────────────────────────────────────
MID$ - a string processing statement that replaces a portion of a
string variable with another string
Syntax
MID$(stringvariable,start[,length])=stringexpression
■ stringvariable is the name of the string you want to change
■ start, a numeric expression, is the character position at which the
change starts
■ length, an optional numeric expression, is the number of characters
to use from stringexpression
■ stringexpression supplies the new characters
Other Uses of the MID$ Statement
◄MID$ function► - to extract a given number of characters from a string
See Also ◄LEFT$► ◄RIGHT$►