MID/de
From MCS Wiki AVR
< MID
Revision as of 01:10, 27 February 2013 by Stefanhamburg (Talk | contribs)
Contents |
= (**COPIED FROM ENGLISH PAGE**) === Action
The MID function returns part of a string (a sub string).
The MID statement replaces part of a string variable with another string.
Syntax
var = MID(var1 ,st [, l] )
MID(var ,st [, l] ) = var1
Anmerkungen
var |
Ziel-Zeichenkette. |
var1 |
Quell-Zeichenkette. |
st |
Startposition. |
l |
Anzahl von Zeichen, die kopiert/ersetzt werden sollen. |
See also
Example
Dim S As String * 15 , Z As String * 15 S ="ABCDEFG" Z = Left(s , 5) Print Z 'ABCDE Z = Right(s , 3) : Print Z Z = Mid(s , 2 , 3) : Print Z End
Languages | English • Deutsch |
---|