•  Back 
  •  Main 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help 
  •  Show info about hypertext 
  •  View a new file 
Topic       : The GFA-Basic Compendium
Author      : GFA Systemtechnik GmbH
Version     : GFABasic.HYP v2.98 (12/31/2023)
Subject     : Documentation/Programming
Nodes       : 899
Index Size  : 28056
HCP-Version : 3
Compiled on : Atari
@charset    : atarist
@lang       : 
@default    : Document not found
@help       : Help
@options    : +g -i -s +z
@width      : 75
@hostname   : STRNGSRV
@hostname   : CAB     
@hostname   : HIGHWIRE
@hostname   : THING   
View Ref-FileMID$(a$,x[,y]) (as a function)

a$: sexp
x, y: iexp

The function MID$() returns y characters starting at position x of the string
a$. If x is larger than the length of a$ then a null string ("") is returned.
If y is omitted, the function returns the whole of the string from position x
onwards.

Example:

    a$="This is the GFA BASIC manual"
    b$=MID$(a$,13,9)+MID$("version 3",8)
    PRINT b$

--> On the screen, the text 'GFA BASIC 3' appears.