EasyManua.ls Logo

Kollmorgen AKD Basic

Kollmorgen AKD Basic
506 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
AKD BASIC User Guide | 5 AKD BASIC Functions
5.19 MID$
General Information
Type Function
Description
Returns a substring of the original string that begins at the specified offset loca-
tion and is of the specified (optional) length.
Syntax
result = MID$(x$, start, [length])
Instructions
Start and Length must both be numeric expressions.
If Length is omitted then MID$() returns a substring that starts at start and goes to the end of
x$.
Example
x$ = "abcdefghi"
Print MID$ (x$, 1, 5) 'prints: abcde
Print MID$ (x$, 6) 'prints: fghi
Related Topics
INSTR() | LEFT$() | LEN() | RIGHT$()
Kollmorgen | March 30, 2012 82

Table of Contents

Related product manuals